changeset 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
files bzgit.py setup.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
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
--- a/setup.py	Mon Dec 17 12:24:54 2012 -0800
+++ b/setup.py	Mon Dec 17 12:28:16 2012 -0800
@@ -9,7 +9,7 @@
 
 version = '0.0'
 
-deps = ['pygithub3', 'bzconsole']
+deps = ['pygithub3', 'bzconsole >= 0.3.1']
 
 setup(name='bzgit',
       version=version,