changeset 36:619e27c447b8

correct variable name + comment
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 14 Dec 2012 15:02:26 -0800
parents 94b0b7b4f190
children d1b8fc0cb6cb
files bzconsole/api.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bzconsole/api.py	Fri Dec 14 14:54:27 2012 -0800
+++ b/bzconsole/api.py	Fri Dec 14 15:02:26 2012 -0800
@@ -166,7 +166,8 @@
         """
 
         if not description:
-            description = contents
+            # fairly hacky :/
+            description = attachment
 
         # read contents
         if '://' in attachment: