# HG changeset patch # User Jeff Hammel # Date 1376184053 25200 # Node ID 48deb57f52d1676f4ac324af5f7ad0a52ec1a131 # Parent fba923298346fda4ae1dd947900e7a5e405a4e6f python/setup_repo.py diff -r fba923298346 -r 48deb57f52d1 python/setup_repo.py --- a/python/setup_repo.py Sat Aug 10 18:16:28 2013 -0700 +++ b/python/setup_repo.py Sat Aug 10 18:20:53 2013 -0700 @@ -31,7 +31,12 @@ if isinstance(command, string): command_str = command else: - command_str = ' '.join(command) + if len(command) == 1: + command_str = command[0] + else: + command_str = '%s %s' % (command[0], + ' '.join(["'%s'" % i + for i in command[1:]))) print 'Running:\n%s' % (command_str) if globals()['dry_run']: return