executor: fix error msg

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-01-08 13:07:51 +02:00
parent 2ded183751
commit a1a3e501b4
+1 -1
View File
@@ -59,5 +59,5 @@ class Executor(object):
stderr_file=stderr_file, cwd=cwd, shell=shell)
if code != 0:
cmd_str = ' '.join(cmd) if type(cmd) == list else cmd
raise ExecutorError('Git command error ({}):\n{}\n{}'.format(cmd_str, out, err))
raise ExecutorError('Exec command error ({}):\n{}\n{}'.format(cmd_str, out, err))
return out