aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-09-11 17:21:54 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-09-11 17:21:54 +0100
commit2e3e1479df19aca58d8bd9f80ef3d6e7a9641211 (patch)
tree0b65dab6922b3caf8c75871721ee46e3f14c13fd
parent919e8671a6ab9684d59525eb7f3607b3aab08ee1 (diff)
downloadsos-2e3e1479df19aca58d8bd9f80ef3d6e7a9641211.tar.gz
[utilities] use correct comparison-to-None style
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/utilities.py2
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: