Mercurial > hg
diff mercurial/ui.py @ 36732: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 | e3732c3ab92d |
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: