contrib/synthrepo.py
changeset 48935 2cce2fa5bcf7
parent 48875 6000f5b25c9b
--- a/contrib/synthrepo.py	Mon Feb 21 11:24:57 2022 -0700
+++ b/contrib/synthrepo.py	Tue Mar 01 20:52:32 2022 -0800
@@ -212,7 +212,7 @@
             for filename, mar, lineadd, lineremove, isbin in parsegitdiff(diff):
                 if isbin:
                     continue
-                added = sum(pycompat.itervalues(lineadd), 0)
+                added = sum(lineadd.values(), 0)
                 if mar == 'm':
                     if added and lineremove:
                         lineschanged[