mercurial/templatekw.py
changeset 48930 e6df205a876c
parent 48913 f254fc73d956
child 51144 9ff3d5395d6b
--- 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()