Mercurial > hg > config
changeset 619:fd50f457185c
STUB: python/install_config.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 04 Feb 2014 14:27:17 -0800 |
parents | 5ab1df94cc8d |
children | a43d0205f80b |
files | python/install_config.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/python/install_config.py Mon Feb 03 13:29:12 2014 -0800 +++ b/python/install_config.py Tue Feb 04 14:27:17 2014 -0800 @@ -37,7 +37,7 @@ def execute(*commands, **kwargs): """execute a series of commands""" for command in commands: - print (subprocess.list2cmdline(' '.join(command))) + print (subprocess.list2cmdline(command)) code = subprocess.call(command, **kwargs) if code: raise subprocess.CalledProcessError(code, command) @@ -71,7 +71,7 @@ @classmethod def name(cls): return cls.__name__ - __str__ = name + __str__ = name # XXX does not work! :( def __call__(self): execute(*self.commands)