Unify bug_id querying · squizzi/python-bugzilla@fe294d7 · GitHub
Skip to content

Commit fe294d7

Browse files
committed
Unify bug_id querying
Upstream bugzilla has always named this paramater 'id' and taken it as a list, not a comma separated string. RHBugzilla finally caught up
1 parent 5e94675 commit fe294d7

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

bin/bugzilla

Lines changed: 4 additions & 1 deletion

bugzilla/bugzilla3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def listify(val):
237237
"component" : listify(component),
238238
"version" : version,
239239
"long_desc" : long_desc,
240-
"bug_id" : bug_id,
240+
"id" : bug_id,
241241
"short_desc" : short_desc,
242242
"bug_status" : status,
243243
"keywords" : keywords,

tests/query.py

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)