dch: Fix error reporting on parsing errors
authorGuido Günther <agx@sigxcpu.org>
Mon, 13 Aug 2012 06:36:39 +0000 (08:36 +0200)
committerGuido Günther <agx@sigxcpu.org>
Mon, 13 Aug 2012 06:36:39 +0000 (08:36 +0200)
gbp/scripts/dch.py

index c2ac50e..b6fbab1 100644 (file)
@@ -338,7 +338,7 @@ def main(argv):
         parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='',
                                        usage='%prog [options] paths')
     except ConfigParser.ParsingError as err:
-        gbp.log.errror(err)
+        gbp.log.err(err)
         return 1
     range_group = GbpOptionGroup(parser, "commit range options",
                                  "which commits to add to the changelog")