changeset 527:76b1723c87fc

python/setup_repo.py
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 24 Sep 2013 13:12:26 -0700
parents 4063bbeaa7d4
children b8857facac02
files python/setup_repo.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/python/setup_repo.py	Tue Sep 24 13:10:58 2013 -0700
+++ b/python/setup_repo.py	Tue Sep 24 13:12:26 2013 -0700
@@ -36,7 +36,7 @@
     print 'Running:\n%s' % (command_str)
     if globals()['dry_run']:
         return
-    return subprocess.check_output(*args, **kwargs)
+    return subprocess.check_output(command, *args, **kwargs)
 
 def init_repo(directory, message):
     """setup repository"""
@@ -113,7 +113,7 @@
                       action='store_true', default=False,
                       help="setup remote server only")
     parser.add_option('--dry-run', dest='dry_run',
-                      action='store_true', default=True,
+                      action='store_true', default=False,
                       help="")
     options, args = parser.parse_args(args)