changeset 48922:fe056166b40d

dirstate: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12327
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 11:09:30 -0700
parents c9774f5fa729
children 428177ad70b0
files mercurial/dirstate.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dirstate.py	Mon Feb 21 11:08:53 2022 -0700
+++ b/mercurial/dirstate.py	Mon Feb 21 11:09:30 2022 -0700
@@ -1308,9 +1308,9 @@
         # - match.traversedir does something, because match.traversedir should
         #   be called for every dir in the working dir
         full = listclean or match.traversedir is not None
-        for fn, st in pycompat.iteritems(
-            self.walk(match, subrepos, listunknown, listignored, full=full)
-        ):
+        for fn, st in self.walk(
+            match, subrepos, listunknown, listignored, full=full
+        ).items():
             if not dcontains(fn):
                 if (listignored or mexact(fn)) and dirignore(fn):
                     if listignored: