# HG changeset patch # User Jeff Hammel # Date 1355717043 28800 # Node ID 5d09b4e9a21bd167a44105c732a916a3e8e3f741 # Parent 99cdb343273fe0924d325f98be04debcad277f38 cleanup diff -r 99cdb343273f -r 5d09b4e9a21b bzconsole/api.py --- a/bzconsole/api.py Sun Dec 16 20:03:18 2012 -0800 +++ b/bzconsole/api.py Sun Dec 16 20:04:03 2012 -0800 @@ -202,8 +202,7 @@ # create attachment data structure # https://wiki.mozilla.org/Bugzilla:REST_API:Objects#Attachment contents = contents.encode('base64') - attachment= {#'bug_id': int(bug), - 'content_type': content_type, + attachment= {'content_type': content_type, 'data': contents, 'description': description, 'encoding': 'base64',