From fd7f3d169589da19a4c81837b695989110f401ef Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Tue, 23 Apr 2013 18:18:45 +0100 Subject: Rename listPlugins to list_plugins Rename the option variable listPlugins to list_plugins to conform with pep8 and other uses in the options set. Signed-off-by: Bryn M. Reeves --- sos/sosreport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sos/sosreport.py b/sos/sosreport.py index 6e4a6141..b822acae 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -800,7 +800,7 @@ class SoSReport(object): self.parser = parser = OptionParserExtended(option_class=SosOption) parser.add_option("-l", "--list-plugins", action="store_true", - dest="listPlugins", default=False, + dest="list_plugins", default=False, help="list plugins and available plugin options") parser.add_option("-n", "--skip-plugins", action="extend", dest="noplugins", type="string", @@ -879,7 +879,7 @@ class SoSReport(object): self._check_for_unknown_plugins() self._set_plugin_options() - if self.opts.listPlugins: + if self.opts.list_plugins: self.list_plugins() return True -- cgit