Commit cae8ca2a authored by Elouan Martinet's avatar Elouan Martinet
Browse files

Trim command output

parent 119cc9f67298
......@@ -21,7 +21,7 @@ def cmd(description, *args, **kwargs):
kwargs["stderr"] = STDOUT
check_output(*args, **kwargs)
except CalledProcessError as ex:
print(ex.output)
print(ex.output).strip()
print("Command exited with code %d" % ex.returncode)
raise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment