hgext/fastannotate/formatter.py
changeset 49292 d44e3c45f0e4
parent 49037 642e31cb55f0
child 51749 493034cc3265
--- 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