On 03/10/2017 06:49 PM, Bryan Kearney wrote:
This was an incredibly annoying API change. The new syntax is:
updates = bugzilla.build_update(\
status = origbug.status,
flags = [{"name": "some-flag", "status":
"+"},{"name":
"some-other-flag", "status": "+"},{"name":
"red-flag", "status": "+"},{"name":
"blue-flag", "status": "?"}])
bugzilla.update_bugs(newbug.bug_id,updates)
-- bk
Indeed I didn't handle this well, particularly because build_update(flags=X)
wasn't even present before v2.0.0, so any flags users were forced to adjust
code. I revived update_flags in git as a wrapper around build_update +
update_bugs, semanticly it should be the same
- Cole