From 98fd05f5f849fa063f6ec884ed383ca666ce32a5 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Fri, 12 Sep 2014 18:32:39 +0100 Subject: [plugin] remove superfluous parens in Plugin.check_ext_prog() Signed-off-by: Bryn M. Reeves --- sos/plugins/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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""" -- cgit