From c0fa22c1b56507aae456665d19f4bd2155413d63 Mon Sep 17 00:00:00 2001 From: shnavid Date: Tue, 10 Jul 2007 09:27:22 +0000 Subject: * plugin.defaultenabled() decides whether a plugin will be automatically loaded or only if specified in -o. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@183 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/lib/sos/plugintools.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/lib') diff --git a/src/lib/sos/plugintools.py b/src/lib/sos/plugintools.py index 8c51fcfc..0196bd55 100644 --- a/src/lib/sos/plugintools.py +++ b/src/lib/sos/plugintools.py @@ -420,6 +420,11 @@ class PluginBase: it should run or not. """ return True + + def defaultenabled(self): + """This devices whether a plugin should be automatically loaded or + only if manually specified in the command line.""" + return True def collect(self): """ This function has been replaced with setup(). Please change your -- cgit