diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-09-12 18:30:00 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-09-12 18:30:00 +0100 |
commit | ebe33bbfd234d1fc589538e5c2855d5357d5fcd7 (patch) | |
tree | 6df556be9cfa9ad041f24a6c13f76d2f3bbfd69a | |
parent | 1e99d4a8a7edbd9870d5171849befa58082d4705 (diff) | |
download | sos-ebe33bbfd234d1fc589538e5c2855d5357d5fcd7.tar.gz |
[plugin] remove superfluous parens in is_installed()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-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. |