# HG changeset patch # User Jeff Hammel # Date 1355531980 28800 # Node ID 15c264451c3d11554b1cdfddfe22889d04303a52 # Parent 0a3c7d8eec72d6367e8e268275a033a25d1b5070 more stubbing diff -r 0a3c7d8eec72 -r 15c264451c3d bzconsole/api.py --- a/bzconsole/api.py Fri Dec 14 15:35:39 2012 -0800 +++ b/bzconsole/api.py Fri Dec 14 16:39:40 2012 -0800 @@ -187,9 +187,11 @@ if reviewer: # from # https://github.com/toolness/pybugzilla/blob/master/bzpatch.py#L177 - flags.append({'status': '?', - 'requestee': reviewer} - pass # TODO + flags.append({'name': 'review', + 'requestee': {'name': reviewer}, + 'status': '?', + 'type_id': 4 # yay for magic numbers! :/ + }) # create attachment data structure # https://wiki.mozilla.org/Bugzilla:REST_API:Objects#Attachment