Skip to content

Commit

Permalink
gluster-bugs: also request the comments when querying bugs
Browse files Browse the repository at this point in the history
An update of `python-bugzilla` does not return the comments by default
anymore. We need them to parse for updates from Gerrit.

Fixes: #9
Signed-off-by: Niels de Vos <ndevos@redhat.com>
  • Loading branch information
nixpanic committed Jul 13, 2017
1 parent 6fd3112 commit 5d1f009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gluster-bugs.py
Expand Up @@ -97,6 +97,7 @@ def main():
f.write('{"date": "%s", "bugs": [' % datetime.datetime.now())

bzq = bz.build_query(product=LPPROJECT, status=BZSTATUS)
bzq['extra_fields'] = ['comments']
bugs = bz.query(bzq)
for task in bugs:
try:
Expand Down

0 comments on commit 5d1f009

Please sign in to comment.