Fix exec_command and cmd_and_log when cmd is tuple

This commit is contained in:
Sean Bartell 2015-06-28 14:59:49 -05:00
parent 933feab352
commit 03a510f480
1 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ class Context(ctx):
"""
subprocess = Utils.subprocess
kw['shell'] = isinstance(cmd, str)
Logs.debug('runner: %r' % cmd)
Logs.debug('runner: %r' % (cmd,))
Logs.debug('runner_env: kw=%s' % kw)
if self.logger:
@ -386,7 +386,7 @@ class Context(ctx):
"""
subprocess = Utils.subprocess
kw['shell'] = isinstance(cmd, str)
Logs.debug('runner: %r' % cmd)
Logs.debug('runner: %r' % (cmd,))
if 'quiet' in kw:
quiet = kw['quiet']