diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-08-13 08:36:39 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-07-04 09:49:33 +0200 |
commit | 3ba0c4d1f351ba4be845a15c70051bbb95160eb8 (patch) | |
tree | e7e22c0bb5fe87a28ca050664035d3b50bca7bc5 | |
parent | 0f5e68aa69a483e3731a17e8282850ef6ef23e8e (diff) |
dch: Fix error reporting on parsing errorsdebian/wheezy
-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") |