hgext/beautifygraph.py
changeset 49284 d44e3c45f0e4
parent 48875 6000f5b25c9b
child 50771 caa0a25f7243
--- a/hgext/beautifygraph.py	Sun May 29 12:38:54 2022 +0200
+++ b/hgext/beautifygraph.py	Sun May 29 15:17:27 2022 +0200
@@ -17,7 +17,6 @@
     encoding,
     extensions,
     graphmod,
-    pycompat,
     templatekw,
 )
 
@@ -53,7 +52,7 @@
 def convertedges(line):
     line = b' %s ' % line
     pretty = []
-    for idx in pycompat.xrange(len(line) - 2):
+    for idx in range(len(line) - 2):
         pretty.append(
             prettyedge(
                 line[idx : idx + 1],