diff options
-rw-r--r-- | sos/utilities.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/utilities.py b/sos/utilities.py index 25e10429..f539e71a 100644 --- a/sos/utilities.py +++ b/sos/utilities.py @@ -155,7 +155,7 @@ def sos_get_command_output(command, timeout=300, stderr=False, reader = AsyncReader(p.stdout, sizelimit, binary) stdout = reader.get_contents() - while p.poll() == None: + while p.poll() is None: pass except OSError as e: |