Strip trailing newlines from command module, which happens in some shell commands

pull/3/head
Michael DeHaan 13 years ago
parent 8d06c074b1
commit c86b388812

@ -64,8 +64,8 @@ if err is None:
err = '' err = ''
result = { result = {
"stdout" : out, "stdout" : out.strip(),
"stderr" : err, "stderr" : err.strip(),
"rc" : cmd.returncode, "rc" : cmd.returncode,
"start" : str(startd), "start" : str(startd),
"end" : str(endd), "end" : str(endd),

Loading…
Cancel
Save