From 56ca4511bf7297ca681851b6e79c5e6b9f13c415 Mon Sep 17 00:00:00 2001 From: Jan Pokorný Date: Fri, 7 Sep 2012 17:39:36 +0200 Subject: Plugin class: comments cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan Pokorný --- sos/plugins/__init__.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index aaf439bd..31efe783 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -109,13 +109,10 @@ class Plugin(object): version is a string representing the version of the plugin. This can be useful for post-collection tooling. - packages is an iterable of the names of packages to check for before - running this plugin. If any of these packages is found on the system, the - default implementation of checkenabled will return True. - - files is an iterable of the paths of files to check for before running this - plugin. If any of these packages is found on the system, the default - implementation of checkenabled will return True. + packages (files) is an iterable of the names of packages (the paths + of files) to check for before running this plugin. If any of these packages + or files is found on the system, the default implementation of checkenabled + will return True. """ plugin_name = None @@ -548,7 +545,7 @@ class Plugin(object): class.packages is specified. If either are specified the plugin will check for the existence of any of the supplied files or packages and return True if any exist. It is encouraged to override this method if - this behavior isn't applicabled. + this behavior isn't applicable. """ # some files or packages have been specified for this package if self.files or self.packages: -- cgit