From d1bedc1ef48f6abe6f582336e275468a1e3634b9 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 30 Oct 2013 12:22:03 +0000 Subject: Fix --alloptions During the re-organisation of sosreport.py the code to apply all boolean options to plug-ins was factored out into its own function, _set_all_options() however this was never called from the main execute() method. Fix this to allow the option to work as previously. Signed-off-by: Bryn M. Reeves --- sos/sosreport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sos/sosreport.py b/sos/sosreport.py index 3fb60c70..1b138269 100644 --- a/sos/sosreport.py +++ b/sos/sosreport.py @@ -290,7 +290,7 @@ class SoSOptions(object): @property def usealloptions(self): if self._options != None: - return _options.usealloptions + return self._options.usealloptions return self._usealloptions @usealloptions.setter @@ -1136,6 +1136,7 @@ class SoSReport(object): self.policy.set_commons(self.get_commons()) self.print_header() self.load_plugins() + self._set_all_options() self._set_tunables() self._check_for_unknown_plugins() self._set_plugin_options() -- cgit