diff options
-rw-r--r-- | sos/plugins/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index e0cab585..be2827ab 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -152,7 +152,7 @@ class Plugin(object): def is_installed(self, package_name): '''Is the package $package_name installed?''' - return (self.policy().pkg_by_name(package_name) is not None) + return self.policy().pkg_by_name(package_name) is not None def do_cmd_output_sub(self, cmd, regexp, subst): '''Apply a regexp substitution to command output archived by sosreport. |