mercurial/config.py
changeset 43106 d783f945a701
parent 43089 c59eb1560c44
child 43276 d201a637c971
--- a/mercurial/config.py	Sun Oct 06 19:25:18 2019 -0400
+++ b/mercurial/config.py	Mon Oct 07 00:04:04 2019 -0400
@@ -86,7 +86,7 @@
         return sorted(self._data.keys())
 
     def items(self, section):
-        return list(self._data.get(section, {}).iteritems())
+        return list(pycompat.iteritems(self._data.get(section, {})))
 
     def set(self, section, item, value, source=b""):
         if pycompat.ispy3: