aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-09-12 18:32:39 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-09-12 18:32:39 +0100
commit98fd05f5f849fa063f6ec884ed383ca666ce32a5 (patch)
tree3ca393198c2ba4f6854b5cf61d5c3b7b8ff9939b
parent72d22407c0a0bc36aa887b8fca27b24cf748ff83 (diff)
downloadsos-98fd05f5f849fa063f6ec884ed383ca666ce32a5.tar.gz
[plugin] remove superfluous parens in Plugin.check_ext_prog()
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 9d428c6c..6e045153 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -479,7 +479,7 @@ class Plugin(object):
sosreport and check the return code. Return True for a return code of 0
and False otherwise.
"""
- return (self.call_ext_prog(prog)['status'] == 0)
+ return self.call_ext_prog(prog)['status'] == 0
def add_cmd_outputs(self, cmds, timeout=300, runat=None):
"""Run a list of programs and collect the output"""