hgext/fsmonitor/__init__.py
changeset 43105 649d3ac37a12
parent 43085 eef9a2d67051
child 43362 ddfd0f3956f4
--- a/hgext/fsmonitor/__init__.py	Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/fsmonitor/__init__.py	Sun Oct 06 19:25:18 2019 -0400
@@ -467,12 +467,14 @@
             visit.update(f for f in copymap if f not in results and matchfn(f))
     else:
         if matchalways:
-            visit.update(f for f, st in dmap.iteritems() if f not in results)
+            visit.update(
+                f for f, st in pycompat.iteritems(dmap) if f not in results
+            )
             visit.update(f for f in copymap if f not in results)
         else:
             visit.update(
                 f
-                for f, st in dmap.iteritems()
+                for f, st in pycompat.iteritems(dmap)
                 if f not in results and matchfn(f)
             )
             visit.update(f for f in copymap if f not in results and matchfn(f))