Skip to content

Commit

Permalink
Allows different username than repro
Browse files Browse the repository at this point in the history
  • Loading branch information
simsong committed Dec 8, 2012
1 parent ba821d2 commit 011f0b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions issues.py
Expand Up @@ -8,6 +8,7 @@

parser = optparse.OptionParser(usage='Usage: %prog [options] sfexport.xml githubuser/repo')
parser.add_option('-s', '--start', dest='start_id', action='store', help='id of first issue to import; useful for aborted runs')
parser.add_option('-u', '--user', dest='github_user')
opts, args = parser.parse_args()

try:
Expand All @@ -17,6 +18,9 @@
parser.print_help()
sys.exit(1)

if opts.github_user:
github_user = opts.github_user

from BeautifulSoup import BeautifulStoneSoup

print 'Parsing XML export...'
Expand Down

0 comments on commit 011f0b1

Please sign in to comment.