diff options
-rw-r--r-- | sos/policies/__init__.py | 2 | ||||
-rw-r--r-- | sos/sosreport.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py index c272e5c6..b91d0fd8 100644 --- a/sos/policies/__init__.py +++ b/sos/policies/__init__.py @@ -198,7 +198,7 @@ No changes will be made to system configuration. return tempfile.gettempdir() return opt_tmp_dir - def validatePlugin(self, plugin_class): + def validate_plugin(self, plugin_class): """ Verifies that the plugin_class should execute under this policy """ diff --git a/sos/sosreport.py b/sos/sosreport.py index 0faa3642..fe78abde 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -763,7 +763,7 @@ class SoSReport(object): tuple(self.policy.valid_subclasses)) for plugin_class in plugin_classes: - if not self.policy.validatePlugin(plugin_class): + if not self.policy.validate_plugin(plugin_class): self.soslog.warning(_("plugin %s does not validate, skipping") % plug) if self.opts.verbosity > 0: self._skip(plugin_class, _("does not validate")) |