aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/options.py b/sos/options.py
index 3a2b4292..ba3db130 100644
--- a/sos/options.py
+++ b/sos/options.py
@@ -186,7 +186,7 @@ class SoSOptions():
if 'verbose' in odict.keys():
odict['verbosity'] = int(odict.pop('verbose'))
# convert options names
- for key in odict.keys():
+ for key in list(odict):
if '-' in key:
odict[key.replace('-', '_')] = odict.pop(key)
# set the values according to the config file