# HG changeset patch # User Gregory Szorc # Date 2022-02-21 18:13:15 # Node ID e6df205a876ccbbe32f78156f01e465f55e3be41 # Parent 278030cc93536a094192087bb3bb35ea7a27cabc templatekw: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12335 diff --git a/mercurial/templatekw.py b/mercurial/templatekw.py --- a/mercurial/templatekw.py +++ b/mercurial/templatekw.py @@ -685,7 +685,7 @@ def showpeerurls(context, mapping): 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()