diff bzgit.py @ 7:b951b70aa952 default tip

cleanin up round 1
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 17 Dec 2012 12:28:16 -0800
parents 7138a453ecf7
children
line wrap: on
line diff
--- a/bzgit.py	Mon Dec 17 12:24:54 2012 -0800
+++ b/bzgit.py	Mon Dec 17 12:28:16 2012 -0800
@@ -74,8 +74,8 @@
     cc = [':wlach']
     new = bz.new('Mozbase', title=title, description=description, cc=cc)
     bug = int(new.strip().rsplit('/')[-1])
-    import pdb; pdb.set_trace()
-# attachment = bz.attach(bug, diff, reviewer=':wlach')
+    print 'https://bugzilla.mozilla.org/show_bug.cgi?id=%s' % bug
+    attachment = bz.attach(bug, diff, reviewer=':wlach')
 
     # comment on pull request wrt bugzilla.m.o issue location
     # TODO