# HG changeset patch # User Gregory Szorc # Date 1645467195 25200 # Node ID e6df205a876ccbbe32f78156f01e465f55e3be41 # Parent 278030cc93536a094192087bb3bb35ea7a27cabc templatekw: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12335 diff -r 278030cc9353 -r e6df205a876c mercurial/templatekw.py --- 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()