contrib/synthrepo.py
changeset 43104 74802979dd9d
parent 43076 2372284d9457
child 45942 89a2afe31e82
--- a/contrib/synthrepo.py	Sun Oct 06 17:45:05 2019 -0400
+++ b/contrib/synthrepo.py	Sun Oct 06 17:59:15 2019 -0400
@@ -213,7 +213,7 @@
             for filename, mar, lineadd, lineremove, isbin in parsegitdiff(diff):
                 if isbin:
                     continue
-                added = sum(lineadd.itervalues(), 0)
+                added = sum(pycompat.itervalues(lineadd), 0)
                 if mar == 'm':
                     if added and lineremove:
                         lineschanged[