changeset 41:5d09b4e9a21b

cleanup
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 16 Dec 2012 20:04:03 -0800
parents 99cdb343273f
children db4c67a82b28
files bzconsole/api.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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',