aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2012-08-13 06:36:39 (GMT)
committerGuido Günther <agx@sigxcpu.org>2013-07-04 07:49:33 (GMT)
commit3ba0c4d1f351ba4be845a15c70051bbb95160eb8 (patch)
treee7e22c0bb5fe87a28ca050664035d3b50bca7bc5
parent0f5e68aa69a483e3731a17e8282850ef6ef23e8e (diff)
dch: Fix error reporting on parsing errorsdebian/wheezy
-rw-r--r--gbp/scripts/dch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py
index ba96631..1dfc97b 100644
--- a/gbp/scripts/dch.py
+++ b/gbp/scripts/dch.py
@@ -337,8 +337,8 @@ def main(argv):
try:
parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='',
usage='%prog [options] paths')
- except ConfigParser.ParsingError, err:
- gbp.log.errror(err)
+ except ConfigParser.ParsingError as err:
+ gbp.log.err(err)
return 1
range_group = GbpOptionGroup(parser, "commit range options",
"which commits to add to the changelog")