summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oslo_config/cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_config/cfg.py b/oslo_config/cfg.py
index ca3ae56..5dcb3f1 100644
--- a/oslo_config/cfg.py
+++ b/oslo_config/cfg.py
@@ -2576,7 +2576,7 @@ class ConfigOpts(Mapping):
logger.log(lvl, "%-30s = %s", opt_name,
_sanitize(opt, getattr(self, opt_name)))
- for group_name in self._groups:
+ for group_name in list(self._groups):
group_attr = self.GroupAttr(self, self._get_group(group_name))
for opt_name in sorted(self._groups[group_name]._opts):
opt = self._get_opt_info(opt_name, group_name)['opt']