aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-09-12 18:33:09 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-09-12 18:33:09 +0100
commitad4bea5fa2f51d5373b98b826c4fbe3fa0c28916 (patch)
treef8777da8c2e75211bda38d3d82352038c9aa33ef
parent98fd05f5f849fa063f6ec884ed383ca666ce32a5 (diff)
downloadsos-ad4bea5fa2f51d5373b98b826c4fbe3fa0c28916.tar.gz
[plugin] remove superfluous parens in Plugin.get_cmd_output_now()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 6e045153..7a345a4f 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -553,7 +553,7 @@ class Plugin(object):
"""
start = time()
result = self.get_command_output(exe, timeout=timeout, runat=runat)
- if (result['status'] == 127):
+ if result['status'] == 127:
return None
self._log_debug("collected output of '%s' in %s"
% (exe.split()[0], time() - start))