Package: git-buildpackage
Version: 0.6.0~git20120601
Severity: normal
Dear Maintainer,
I tried to run the git-dch command, but get only this:
$ git-dch --bpo
Traceback (most recent call last):
File "/usr/bin/git-dch", line 5, in <module>
sys.exit(main(sys.argv))
File "/usr/lib/python2.7/dist-packages/gbp/scripts/dch.py", line 341, in main
gbp.log.errror(err)
AttributeError: 'module' object has no attribute 'errror'
I have attached a timy patch that fixes the error.
Kind regards,
--Toni++
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing'), (100, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages git-buildpackage depends on:
ii devscripts 2.12.6
ii git 1:1.7.10.4-1+wheezy1
ii python 2.7.3-4
ii python-dateutil 1.5+dfsg-0.1
ii python2.6 2.6.8-1.1
ii python2.7 2.7.3-6
Versions of packages git-buildpackage recommends:
ii cowbuilder 0.70
ii pristine-tar 1.25+deb7u1
Versions of packages git-buildpackage suggests:
ii python-notify 0.1.1-3
ii unzip 6.0-8
-- no debconf information
--- dch.py.orig 2012-06-01 23:11:12.000000000 +0200
+++ dch.py 2013-07-04 01:41:07.110821803 +0200
@@ -338,7 +338,7 @@
parser = GbpOptionParserDebian(command=os.path.basename(argv[0]), prefix='',
usage='%prog [options] paths')
except ConfigParser.ParsingError, 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")