diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/sos/plugins/sanitize.py | 3 | ||||
-rw-r--r-- | src/lib/sos/plugintools.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/sos/plugins/sanitize.py b/src/lib/sos/plugins/sanitize.py index 8d7719d4..00c883ee 100644 --- a/src/lib/sos/plugins/sanitize.py +++ b/src/lib/sos/plugins/sanitize.py @@ -18,9 +18,10 @@ import glob import socket class sanitize(sos.plugintools.PluginBase): - """ sanitize plugin + """ sanitize specified log files, etc """ def defaultenabled(self): + # disabled by default b/c still a work in progress return False def setup(self): diff --git a/src/lib/sos/plugintools.py b/src/lib/sos/plugintools.py index 927630bd..b8b4ed7a 100644 --- a/src/lib/sos/plugintools.py +++ b/src/lib/sos/plugintools.py @@ -159,7 +159,7 @@ class PluginBase: self.soslog.log(logging.VERBOSE3, "copying file %s" % srcpath) try: tdstpath, abspath = self.__copyFile(srcpath) - except "AlreadyExists": + except PluginException: self.soslog.log(logging.DEBUG, "error copying file %s (already exists)" % (srcpath)) return except IOError: |