mercurial/patch.py
changeset 43104 74802979dd9d
parent 43097 27c4f93d07a9
child 43106 d783f945a701
--- a/mercurial/patch.py	Sun Oct 06 17:45:05 2019 -0400
+++ b/mercurial/patch.py	Sun Oct 06 17:59:15 2019 -0400
@@ -1331,7 +1331,11 @@
                 fixoffset += chunk.removed - chunk.added
     return (
         sum(
-            [h for h in applied.itervalues() if h[0].special() or len(h) > 1],
+            [
+                h
+                for h in pycompat.itervalues(applied)
+                if h[0].special() or len(h) > 1
+            ],
             [],
         ),
         {},