changeset 17:7fe6f1e923bb

return the ref to a new bug
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 07 Dec 2010 09:16:07 -0800
parents a8eb5c7d4042
children 9fac43403d7e
files bzconsole/main.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bzconsole/main.py	Mon Dec 06 17:34:01 2010 -0800
+++ b/bzconsole/main.py	Tue Dec 07 09:16:07 2010 -0800
@@ -86,7 +86,9 @@
             results = self._request('/bug', request)
         except Exception, e:
             raise
-        
+
+        # return the URL
+        return results['ref']
 
     def configuration(self):
         """bugzilla configuration"""