verify: remove pycompat.iteritems()
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 21 Feb 2022 11:13:37 -0700
changeset 48931 6f10a2d6adf9
parent 48930 e6df205a876c
child 48932 176f1a0d15dc
verify: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12336
mercurial/verify.py
--- a/mercurial/verify.py	Mon Feb 21 11:13:15 2022 -0700
+++ b/mercurial/verify.py	Mon Feb 21 11:13:37 2022 -0700
@@ -574,7 +574,7 @@
 
             # cross-check
             if f in filenodes:
-                fns = [(v, k) for k, v in pycompat.iteritems(filenodes[f])]
+                fns = [(v, k) for k, v in filenodes[f].items()]
                 for lr, node in sorted(fns):
                     msg = _(b"manifest refers to unknown revision %s")
                     self._err(lr, msg % short(node), f)