From 1c285769fee6253ebfd673fb24daf069aa114ad5 Mon Sep 17 00:00:00 2001 From: pcarrier Date: Mon, 15 Nov 2010 19:18:21 +0000 Subject: 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 --- sos/plugins/abrt.py | 2 +- sos/plugins/dogtag.py | 2 +- 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 -- cgit