# HG changeset patch # User Jeff Hammel # Date 1286989127 25200 # Node ID 972f1496cff0c1e47137a5c107631a867a854391 # Parent f915c612df49cdc576b61c6e693683d238263645 fix indentation error diff -r f915c612df49 -r 972f1496cff0 sendchanges/sendchanges.py --- a/sendchanges/sendchanges.py Wed Oct 13 09:53:31 2010 -0700 +++ b/sendchanges/sendchanges.py Wed Oct 13 09:58:47 2010 -0700 @@ -63,7 +63,7 @@ parser.add_option('-p', '--port', dest='port', choices=ports, type='choice', help='buildbot masteir port number to push sendchanges to (choices: %s)' % ports) - parser.add_option('--branch', dest='branch', + parser.add_option('-b', '--branch', dest='branch', choices=branches, type='choice', help='which branch to push (choices: %s)' % branches) parser.add_option('-u', '--url', dest='url', @@ -98,13 +98,13 @@ raise AssertionError("You mess something up! %s %s %s" % (platform, options.url, _changes)) changes[platform] = _changes - # send the changes - for platform in options.platforms: - check_call(['buildbot', 'sendchange', - '--user', options.username, - '--master', 'localhost:%d' % int(options.port), - '--branch', 'mozilla-central-%s-%s' % (platform, options.branch)] - + changes[platform]) + # send the changes + for platform in options.platforms: + check_call(['buildbot', 'sendchange', + '--user', options.username, + '--master', 'localhost:%d' % int(options.port), + '--branch', 'mozilla-central-%s-%s' % (platform, options.branch)] + + changes[platform]) if __name__ == '__main__': main()