Format in PowerlineLogger._log, not in pl.exception arguments
This commit is contained in:
parent
08a2e75241
commit
70a9da61f4
|
@ -7,7 +7,7 @@ def run_cmd(pl, cmd, stdin=None):
|
||||||
try:
|
try:
|
||||||
p = Popen(cmd, stdout=PIPE, stdin=PIPE)
|
p = Popen(cmd, stdout=PIPE, stdin=PIPE)
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
pl.exception('Could not execute command ({0}): {1}'.format(e, cmd))
|
pl.exception('Could not execute command ({0}): {1}', e, cmd)
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
stdout, err = p.communicate(stdin)
|
stdout, err = p.communicate(stdin)
|
||||||
|
|
Loading…
Reference in New Issue