diff options
author | Julien Cristau <julien.cristau@logilab.fr> | 2016-03-15 10:08:33 +0100 |
---|---|---|
committer | Julien Cristau <julien.cristau@logilab.fr> | 2016-03-15 10:08:33 +0100 |
commit | 08b8c68fd3c92c1ad329861f6c10df6360fdca83 (patch) | |
tree | 2fdc0077fae8b52b401ca2ef3c15f3fd6c0bdbd8 | |
parent | 5426170ece0217e726f20c058392888e2b06e2b3 (diff) | |
download | logilab-common-08b8c68fd3c92c1ad329861f6c10df6360fdca83.tar.gz |
[configuration] fix crash on python 3.5debian/1.2.0-1centos/1.2.0-11.2.0
RuntimeError: OrderedDict mutated during iteration
-rw-r--r-- | logilab/common/configuration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logilab/common/configuration.py b/logilab/common/configuration.py index 38af31d..b7f364b 100644 --- a/logilab/common/configuration.py +++ b/logilab/common/configuration.py @@ -635,7 +635,7 @@ class OptionsManagerMixIn(object): parser = self.cfgfile_parser parser.read([config_file]) # normalize sections'title - for sect, values in parser._sections.items(): + for sect, values in list(parser._sections.items()): if not sect.isupper() and values: parser._sections[sect.upper()] = values elif not self.quiet: |