diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2011-08-14 09:15:00 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2011-08-14 09:15:00 +0100 |
commit | d5e79133f7e47de73a682b42f6cbb81088d18d96 (patch) | |
tree | eb022dbb866be2f59439dd0ee3934fb9c3198811 | |
parent | a2e5bf158e8f6f59536097023f4dbeaae7762c4a (diff) | |
download | sos-d5e79133f7e47de73a682b42f6cbb81088d18d96.tar.gz |
Don't strip whitespace from output of external programs
Resolves: bz713449
-rwxr-xr-x | sos/helpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/helpers.py b/sos/helpers.py index b6b099a5..8c0591b1 100755 --- a/sos/helpers.py +++ b/sos/helpers.py @@ -55,7 +55,7 @@ def sosGetCommandOutput(command, timeout = 300): p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, bufsize=-1) stdout, stderr = p.communicate() - return (p.returncode, stdout.strip(), 0) + return (p.returncode, stdout, 0) def commonPrefix(l1, l2, common = []): ''' return a list of common elements at the start of all sequences, |