changeset 60:ab07751849c9

bzconsole/api.py
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 27 Sep 2013 14:30:24 -0700
parents 1ccb1bb4e641
children 355d00c749d9
files bzconsole/api.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bzconsole/api.py	Fri Sep 27 12:45:37 2013 -0700
+++ b/bzconsole/api.py	Fri Sep 27 14:30:24 2013 -0700
@@ -192,7 +192,7 @@
             request['see_also'] = list(see_also)
 
         # get the bug description
-        if os.path.exists(description):
+        if description and os.path.exists(description):
             description = file(description).read()
             description = tmpbuffer(contents=description)
         if not description: