py3: fix type of ui.configitems(ignoresub=True) result
authorYuya Nishihara <yuya@tcha.org>
Sun, 04 Mar 2018 16:01:18 -0500
changeset 36732 723e87c8c059
parent 36731 8988c34bd018
child 36733 66250de006c6
py3: fix type of ui.configitems(ignoresub=True) result
mercurial/ui.py
--- a/mercurial/ui.py	Sun Mar 04 15:53:10 2018 -0500
+++ b/mercurial/ui.py	Sun Mar 04 16:01:18 2018 -0500
@@ -735,7 +735,7 @@
             for k, v in items:
                 if ':' not in k:
                     newitems[k] = v
-            items = newitems.items()
+            items = list(newitems.iteritems())
         if self.debugflag and not untrusted and self._reportuntrusted:
             for k, v in self._ucfg.items(section):
                 if self._tcfg.get(section, k) != v: