changeset 48931:6f10a2d6adf9

verify: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12336
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 11:13:37 -0700
parents e6df205a876c
children 176f1a0d15dc
files mercurial/verify.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)