williamh / pybugz

Python interface to Bugzilla.
http://www.liquidx.net/pybugz/
GNU General Public License v2.0
80 stars 60 forks source link

AttributeError: 'Connection' object has no attribute 'version' #73

Closed jlec closed 10 years ago

jlec commented 10 years ago

Following command

bugz post --batch --component 'Keywording and Stabilization' --title 'dev-util/nvidia-cuda-toolkit-6.5.14 please stabilize' --description 'Please stable' --assigned-to jlec@gentoo.org '--cc=amd64@gentoo.org, x86@gentoo.org, ' '--product=Gentoo Linux' --priority=Normal --severity=enhancement

triggers this traceback

Traceback (most recent call last): File "/usr/lib/python-exec/python3.3/bugz", line 67, in sys.exit(main()) File "/usr/lib/python-exec/python3.3/bugz", line 52, in main conn.func(bugz, conn) File "/usr/lib64/python3.3/site-packages/bugz/cli.py", line 328, in post print('%-12s: %s' % ('Version', conn.version)) AttributeError: 'Connection' object has no attribute 'version'

jlec commented 10 years ago

it is the --batch option triggering this.

jlec commented 10 years ago

Same for bugz attach ...