diff options
author | shnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-04-18 10:59:03 +0000 |
---|---|---|
committer | shnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-04-18 10:59:03 +0000 |
commit | 025c143437cb6d55eb9fdc61b005df48f41d2ace (patch) | |
tree | 23c6d3da74802ed903925c0fa1f22adfee09749a /src | |
parent | 11a37a509cbb6f14e4cf7e492acb6d062a297c94 (diff) | |
download | sos-025c143437cb6d55eb9fdc61b005df48f41d2ace.tar.gz |
More logging typos fixed.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@122 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/sos/plugintools.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/sos/plugintools.py b/src/lib/sos/plugintools.py index b40e68e8..5c301ed6 100644 --- a/src/lib/sos/plugintools.py +++ b/src/lib/sos/plugintools.py @@ -273,7 +273,7 @@ class PluginBase: """ # First check to make sure the binary exists and is runnable. if not os.access(prog.split()[0], os.X_OK): - self.cInfo['soslog'](logging.VERBOSE2, "Binary '%s' does not exist or is not runnable" % prog.split()[0]) + self.cInfo['soslog'].log(logging.VERBOSE2, "Binary '%s' does not exist or is not runnable" % prog.split()[0]) return # pylint: disable-msg = W0612 @@ -316,7 +316,7 @@ class PluginBase: """ # First check to make sure the binary exists and is runnable. if not os.access(exe.split()[0], os.X_OK): - self.cInfo['soslog'](logging.VERBOSE2, "Binary '%s' does not exist or is not runnable" % exe.split()[0]) + self.cInfo['soslog'].log(logging.VERBOSE2, "Binary '%s' does not exist or is not runnable" % exe.split()[0]) return # pylint: disable-msg = W0612 @@ -391,7 +391,7 @@ class PluginBase: except KeyboardInterrupt: raise KeyboardInterrupt except Exception, e: - self.cInfo['soslog'](logging.VERBOSE, "Error copying from pathspec %s (%s)" % (path,e)) + self.cInfo['soslog'].log(logging.VERBOSE, "Error copying from pathspec %s (%s)" % (path,e)) for prog in self.collectProgs: self.cInfo['soslog'].debug("collecting output of '%s'" % prog) try: @@ -401,7 +401,7 @@ class PluginBase: except KeyboardInterrupt: raise KeyboardInterrupt except: - self.cInfo['soslog'](logging.VERBOSE, "Error collecting output of '%s'" % prog,) + self.cInfo['soslog'].log(logging.VERBOSE, "Error collecting output of '%s'" % prog,) def checkenabled(self): """ This function can be overidden to let the plugin decide whether |