changeset 2:972f1496cff0

fix indentation error
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 13 Oct 2010 09:58:47 -0700
parents f915c612df49
children 0b8ad10a510e
files sendchanges/sendchanges.py
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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()