diff -r c95b2f40db7c -r 74802979dd9d contrib/synthrepo.py --- 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[