changeset 49021:e6df205a876c

templatekw: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12335
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 11:13:15 -0700
parents 278030cc9353
children 6f10a2d6adf9
files mercurial/templatekw.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templatekw.py	Mon Feb 21 11:12:47 2022 -0700
+++ b/mercurial/templatekw.py	Mon Feb 21 11:13:15 2022 -0700
@@ -685,7 +685,7 @@
         d = {b'name': k}
         if len(ps) == 1:
             d[b'url'] = ps[0].rawloc
-            sub_opts = pycompat.iteritems(ps[0].suboptions)
+            sub_opts = ps[0].suboptions.items()
             sub_opts = util.sortdict(sorted(sub_opts))
             d.update(sub_opts)
         path_dict = util.sortdict()