aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/abrt.py2
-rw-r--r--sos/plugins/dogtag.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/abrt.py b/sos/plugins/abrt.py
index 5ab56884..70c062c5 100644
--- a/sos/plugins/abrt.py
+++ b/sos/plugins/abrt.py
@@ -17,7 +17,7 @@
import sos.plugintools
import os
-class abrtlog(sos.plugintools.PluginBase):
+class abrt(sos.plugintools.PluginBase):
"""ABRT log dump
"""
def checkenabled(self):
diff --git a/sos/plugins/dogtag.py b/sos/plugins/dogtag.py
index fa28e82e..a12b7b15 100644
--- a/sos/plugins/dogtag.py
+++ b/sos/plugins/dogtag.py
@@ -23,7 +23,7 @@ class dogtag(sos.plugintools.PluginBase):
# This is for dogtag Certificate System
def checkenabled(self):
- if self.isInstalled("pki-ca") or leng(glob.glob("/var/lib/pki-*")):
+ if self.isInstalled("pki-ca") or len(glob.glob("/var/lib/pki-*")):
return True
return False