>>> print bz.getbug('111111', include_fields=['cf_qa_whiteboard']
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 983, in getbug
exclude_fields=exclude_fields, extra_fields=extra_fields)
File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 976, in _getbug
extra_fields=extra_fields)[0]
File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 951, in _getbugs
bugdict = dict([(b['id'], b) for b in r['bugs']])
KeyError: 'id'
>>> print bz.getbug('111111',['cf_qa_whiteboard'])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 983, in getbug
exclude_fields=exclude_fields, extra_fields=extra_fields)
File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 976, in _getbug
extra_fields=extra_fields)[0]
File "/usr/lib/python2.7/site-packages/bugzilla/base.py", line 951, in _getbugs
bugdict = dict([(b['id'], b) for b in r['bugs']])
KeyError: 'id'
Appreciate any insight here.
Thanks!
--
|
| |
Eric Sammons
about.me/ericsammons |
|