Mercurial > hg
diff hgext/beautifygraph.py @ 49284:d44e3c45f0e4
py3: replace `pycompat.xrange` by `range`
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sun, 29 May 2022 15:17:27 +0200 |
parents | 6000f5b25c9b |
children | caa0a25f7243 |
line wrap: on
line diff
--- 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],