Mercurial > mozilla > hg > bzgit
changeset 5:6c1ca906ffa4
stubbing
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 17 Dec 2012 11:32:47 -0800 |
parents | 9fb08361ac8d |
children | 7138a453ecf7 |
files | bzgit.py |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/bzgit.py Mon Dec 17 11:08:45 2012 -0800 +++ b/bzgit.py Mon Dec 17 11:32:47 2012 -0800 @@ -25,7 +25,7 @@ def main(args=sys.argv[1:]): # parse command line arguments - usage = '%prog [options] ...' + usage = '%prog [options] http://github.com/url/of/pull/request' class PlainDescriptionFormatter(optparse.IndentedHelpFormatter): """description formatter""" def format_description(self, description): @@ -57,8 +57,10 @@ gh = Github() # TODO: auth pull = gh.pull_requests.get(pull_request, github_user, github_project) - # move all the things [TODO] - bz = bzconsole + # move all the things + bz = bzconsole.BZapi() +# new = bz.new() +# # comment on pull request wrt bugzilla.m.o issue location # TODO