diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-07 05:21:49 -0600 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-02-08 10:55:50 +0800 |
commit | b5dd2f0c0ed534ecbc1c1a2d8e07319799a4e9c7 (patch) | |
tree | 552484709b240e44b62e652c076bb62766429b00 /git/refs/log.py | |
parent | ae7499f316770185d6e9795430fa907ca3f29679 (diff) | |
download | gitpython-b5dd2f0c0ed534ecbc1c1a2d8e07319799a4e9c7.tar.gz |
Remove and replace compat.xrange
Diffstat (limited to 'git/refs/log.py')
-rw-r--r-- | git/refs/log.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git/refs/log.py b/git/refs/log.py index 432232ac..274660c5 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -3,7 +3,6 @@ import time from git.compat import ( PY3, - xrange, string_types, defenc ) @@ -220,7 +219,7 @@ class RefLog(list, Serializable): if index < 0: return RefLogEntry.from_line(fp.readlines()[index].strip()) # read until index is reached - for i in xrange(index + 1): + for i in range(index + 1): line = fp.readline() if not line: break |