aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-11-15 19:18:21 +0000
committerpcarrier <pcarrier@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-11-15 19:18:21 +0000
commit1c285769fee6253ebfd673fb24daf069aa114ad5 (patch)
tree24d7a2dc760a75a9fce105d4cec90c3d04dd1a7a
parentc38ee45016f4678d0b30c6d1a01b90e67b451fcf (diff)
downloadsos-1c285769fee6253ebfd673fb24daf069aa114ad5.tar.gz
Oops. My bad. Bad start.
Now running the upstream version in my pre-commit tests... git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@997 ef72aa8b-4018-0410-8976-d6e080ef94d8
-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