changeset 48920 | b4ab4fd23199 |
parent 48890 | f5127b87f160 |
child 48946 | 642e31cb55f0 |
--- a/mercurial/config.py Mon Feb 21 11:08:04 2022 -0700 +++ b/mercurial/config.py Tue Mar 01 20:47:37 2022 -0800 @@ -14,7 +14,6 @@ from . import ( encoding, error, - pycompat, util, ) @@ -110,7 +109,7 @@ return sorted(self._data.keys()) def items(self, section): - items = pycompat.iteritems(self._data.get(section, {})) + items = self._data.get(section, {}).items() return [(k, v[0]) for (k, v) in items] def set(self, section, item, value, source=b""):