aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/report/plugins/__init__.py2
-rw-r--r--sos/report/plugins/release.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sos/report/plugins/__init__.py b/sos/report/plugins/__init__.py
index a4dfbb64..fd3818e5 100644
--- a/sos/report/plugins/__init__.py
+++ b/sos/report/plugins/__init__.py
@@ -453,7 +453,7 @@ class PluginOpt():
if type('') in self.val_type:
self.value = str(val)
return
- if not any([type(val) == _t for _t in self.val_type]):
+ if not any([type(val) is _t for _t in self.val_type]):
valid = []
for t in self.val_type:
if t is None:
diff --git a/sos/report/plugins/release.py b/sos/report/plugins/release.py
index a57f37f1..7086ba77 100644
--- a/sos/report/plugins/release.py
+++ b/sos/report/plugins/release.py
@@ -6,7 +6,7 @@
#
# See the LICENSE file in the source distribution for further information.
-from sos.report.plugins import Plugin, RedHatPlugin,\
+from sos.report.plugins import Plugin, RedHatPlugin, \
DebianPlugin, UbuntuPlugin, CosPlugin