diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-10-30 12:22:03 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-10-30 12:22:03 +0000 |
commit | d1bedc1ef48f6abe6f582336e275468a1e3634b9 (patch) | |
tree | 37383ee5304545b9ea9c557f30b0ba96029dd325 | |
parent | 7bd32b25ec04164f33edd016a570aea1d5241f46 (diff) | |
download | sos-d1bedc1ef48f6abe6f582336e275468a1e3634b9.tar.gz |
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 <bmr@redhat.com>
-rw-r--r-- | sos/sosreport.py | 3 |
1 files changed, 2 insertions, 1 deletions
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() |