mercurial/config.py
changeset 32318 6a773d3050c9
parent 31481 a7c687c35119
child 34131 0fa781320203
--- a/mercurial/config.py	Fri May 19 03:47:43 2017 -0700
+++ b/mercurial/config.py	Thu May 18 13:38:37 2017 -0700
@@ -68,7 +68,7 @@
     def sections(self):
         return sorted(self._data.keys())
     def items(self, section):
-        return self._data.get(section, {}).items()
+        return list(self._data.get(section, {}).iteritems())
     def set(self, section, item, value, source=""):
         if pycompat.ispy3:
             assert not isinstance(value, str), (