some shell related cleanups

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2013-08-07 20:58:45 +02:00
commit 79fea569b9
2 changed files with 48 additions and 19 deletions

View file

@ -127,8 +127,8 @@ class Local(object):
Return the output as a string.
"""
assert isinstance(command, (list, tuple)), "list or tuple argument expected, got: %s" % command
self.log.debug("Local run: %s", command)
assert isinstance(command, (list, tuple)), "list or tuple argument expected, got: %s" % command
if env is None:
env = os.environ.copy()