diff options
-rw-r--r-- | gbp/scripts/dch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py index ba96631c..1dfc97b0 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") |