changeset 36755:723e87c8c059

py3: fix type of ui.configitems(ignoresub=True) result
author Yuya Nishihara <yuya@tcha.org>
date Sun, 04 Mar 2018 16:01:18 -0500
parents 8988c34bd018
children 66250de006c6
files mercurial/ui.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: