From 3dd48d6b68fd810d3c410436ddaf497e48a8b2a6 Mon Sep 17 00:00:00 2001 From: Guido Guenther Date: Sat, 1 Mar 2008 14:21:47 +0100 Subject: don't fail of the pristine-tar branch doesn't exist (Closes: #468675) --- git-buildpackage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-buildpackage b/git-buildpackage index a5b60251..a11e43e6 100755 --- a/git-buildpackage +++ b/git-buildpackage @@ -98,7 +98,7 @@ def pristine_tar_build_orig(repo, cp, output_dir, options): if options.pristine_tar: pt = PristineTar() if not repo.has_branch(pt.branch): - raise GbpError, "Pristine-tar branch '%s' not found" % pt.branch + print >>sys.stderr, 'Pristine-tar branch "%s" not found' % pt.branch pt.checkout(os.path.join(output_dir, du.orig_file(cp))) return True else: -- cgit v1.2.3