mercurial/formatter.py
changeset 48913 f254fc73d956
parent 48888 07a7b57d3e33
child 48932 176f1a0d15dc
--- a/mercurial/formatter.py	Thu Mar 03 17:39:20 2022 -0800
+++ b/mercurial/formatter.py	Thu Mar 03 18:28:30 2022 -0800
@@ -293,7 +293,7 @@
 def _iteritems(data):
     '''iterate key-value pairs in stable order'''
     if isinstance(data, dict):
-        return sorted(pycompat.iteritems(data))
+        return sorted(data.items())
     return data