summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2008-03-01 14:21:47 +0100
committerGuido Guenther <agx@sigxcpu.org>2008-03-01 14:21:47 +0100
commit3dd48d6b68fd810d3c410436ddaf497e48a8b2a6 (patch)
treebb234d094c0bdd77fb45624f9aa47d50da9e01a2
parent08be19fc4dd112f73a82318216cf28bb2a4c36de (diff)
don't fail of the pristine-tar branch doesn't exist (Closes: #468675)
-rwxr-xr-xgit-buildpackage2
1 files changed, 1 insertions, 1 deletions
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: