aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/__init__.py b/sos/__init__.py
index dfc7ed5f..ed59025a 100644
--- a/sos/__init__.py
+++ b/sos/__init__.py
@@ -250,8 +250,8 @@ class SoSOptions(object):
optlist.extend(SoSOptions._opt_to_args(opt, val))
opts._merge_opts(argparser.parse_args(optlist), is_default)
+ opts.noplugins = []
if config.has_option("plugins", "disable"):
- opts.noplugins = []
opts.noplugins.extend([plugin.strip() for plugin in
config.get("plugins", "disable").split(',')])