diff -r 44b26349127b -r d44e3c45f0e4 hgext/fastannotate/formatter.py --- a/hgext/fastannotate/formatter.py Sun May 29 12:38:54 2022 +0200 +++ b/hgext/fastannotate/formatter.py Sun May 29 15:17:27 2022 +0200 @@ -93,7 +93,7 @@ # buffered output result = b'' - for i in pycompat.xrange(len(annotatedresult)): + for i in range(len(annotatedresult)): for j, p in enumerate(pieces): sep = self.funcmap[j][1] padding = b' ' * (maxwidths[j] - len(p[i])) @@ -148,7 +148,7 @@ result = b'' lasti = len(annotatedresult) - 1 - for i in pycompat.xrange(len(annotatedresult)): + for i in range(len(annotatedresult)): result += b'\n {\n' for j, p in enumerate(pieces): k, vs = p