Fixed syntax error in print function
parent
1a756efe82
commit
9dd357a9ee
|
|
@ -266,7 +266,7 @@ def _handle_execute_exception(ex, args, _stderr, exit_code=None):
|
||||||
if _stderr:
|
if _stderr:
|
||||||
_stderr.log(info)
|
_stderr.log(info)
|
||||||
else:
|
else:
|
||||||
print("WARNING: ", ex.strerror, file=sys.stderr)
|
print('WARNING: {0}'.format(str(ex)))
|
||||||
args.update({'end_time': get_current_time()})
|
args.update({'end_time': get_current_time()})
|
||||||
args.update({
|
args.update({
|
||||||
'exit_code': ex.errno if exit_code is None else exit_code})
|
'exit_code': ex.errno if exit_code is None else exit_code})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue