Mercurial > public > mercurial-scm > hg-stable
diff mercurial/utils/storageutil.py @ 49292: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 | fa955e3f6aee 9cac281eb9c0 |
line wrap: on
line diff
--- a/mercurial/utils/storageutil.py Sun May 29 12:38:54 2022 +0200 +++ b/mercurial/utils/storageutil.py Sun May 29 15:17:27 2022 +0200 @@ -19,7 +19,6 @@ dagop, error, mdiff, - pycompat, ) from ..interfaces import repository from ..revlogutils import sidedata as sidedatamod @@ -181,7 +180,7 @@ else: stop = storelen - return pycompat.xrange(start, stop, step) + return range(start, stop, step) def fileidlookup(store, fileid, identifier):