From b11e1db9fea4bbd86d5240f77747b7050af27edd Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Thu, 29 Nov 2012 19:02:32 +0000 Subject: Don't strip whitespace from output of external programs --- sos/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sos/utilities.py b/sos/utilities.py index 9b062bb1..8fd16559 100644 --- a/sos/utilities.py +++ b/sos/utilities.py @@ -156,7 +156,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) else: return (127, "", 0) -- cgit