# HG changeset patch # User Jeff Hammel # Date 1355776096 28800 # Node ID b951b70aa952c99c08f916bdba067ece88ba8223 # Parent 7138a453ecf72d6dbcc4f3ae829f0d864e6f08e0 cleanin up round 1 diff -r 7138a453ecf7 -r b951b70aa952 bzgit.py --- 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 diff -r 7138a453ecf7 -r b951b70aa952 setup.py --- 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,