Skip to content

Commit 891ac51

Browse files
committed
Use range instead of xrange, good enough here
1 parent d6c097e commit 891ac51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: gitdb/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _retry(func, *args, **kwargs):
7272
# Wrapper around functions, that are problematic on "Windows". Sometimes
7373
# the OS or someone else has still a handle to the file
7474
if sys.platform == "win32":
75-
for _ in xrange(10):
75+
for _ in range(10):
7676
try:
7777
return func(*args, **kwargs)
7878
except Exception:

0 commit comments

Comments
 (0)