Mercurial > hg > bzconsole
changeset 39:15c264451c3d
more stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 14 Dec 2012 16:39:40 -0800 |
parents | 0a3c7d8eec72 |
children | 99cdb343273f |
files | bzconsole/api.py |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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