# HG changeset patch # User Jeff Hammel # Date 1376184871 25200 # Node ID 66c2a17d8424e7b0df6c8e61bec8eb940058bc40 # Parent 48deb57f52d1676f4ac324af5f7ad0a52ec1a131 python/setup_repo.py diff -r 48deb57f52d1 -r 66c2a17d8424 python/setup_repo.py --- a/python/setup_repo.py Sat Aug 10 18:20:53 2013 -0700 +++ b/python/setup_repo.py Sat Aug 10 18:34:31 2013 -0700 @@ -32,11 +32,8 @@ command_str = command else: if len(command) == 1: - command_str = command[0] - else: - command_str = '%s %s' % (command[0], - ' '.join(["'%s'" % i - for i in command[1:]))) + command_str = subprocess.list2cmdline(command) + print 'Running:\n%s' % (command_str) if globals()['dry_run']: return