Mercurial > hg
diff mercurial/wireprotov1peer.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 | 642e31cb55f0 |
children | b1fb4185e47c |
line wrap: on
line diff
--- a/mercurial/wireprotov1peer.py Sun May 29 12:38:54 2022 +0200 +++ b/mercurial/wireprotov1peer.py Sun May 29 15:17:27 2022 +0200 @@ -519,7 +519,7 @@ def between(self, pairs): batch = 8 # avoid giant requests r = [] - for i in pycompat.xrange(0, len(pairs), batch): + for i in range(0, len(pairs), batch): n = b" ".join( [ wireprototypes.encodelist(p, b'-')