Merge branch 'no-exception-format' into develop

This commit is contained in:
ZyX 2014-02-16 03:37:21 +04:00
commit 9328cec3c9
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ def run_cmd(pl, cmd, stdin=None):
try:
p = Popen(cmd, stdout=PIPE, stdin=PIPE)
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
else:
stdout, err = p.communicate(stdin)