From ad4bea5fa2f51d5373b98b826c4fbe3fa0c28916 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Fri, 12 Sep 2014 18:33:09 +0100 Subject: [plugin] remove superfluous parens in Plugin.get_cmd_output_now() 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 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)) -- cgit