aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2008-04-23 15:41:37 +0200
committerGuido Guenther <agx@sigxcpu.org>2008-04-23 15:41:37 +0200
commit76bc0516da0f1e886514ee25e0cf5e525e0736cc (patch)
treec7195f0132cda692110df15710e78ce61f1114c6
parent524367691bfbde4fc371db276b3018b2e0ab397e (diff)
catch GitRepositoryErrors
-rwxr-xr-xgit-dch2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-dch b/git-dch
index 9935f0f9..886b1f40 100755
--- a/git-dch
+++ b/git-dch
@@ -275,7 +275,7 @@ def main(argv):
if options.release:
do_release(changelog, cp)
- except GbpError, err:
+ except (GbpError, GitRepositoryError), err:
if len(err.__str__()):
print >>sys.stderr, err
ret = 1