Skip to content

Commit 84a943d

Browse files
authored
Fix off-by-one
(cherry-picked from e64395e)
1 parent d6e4844 commit 84a943d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PCbuild/get_external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
def retrieve_with_retries(download_location, output_path, reporthook,
1313
max_retries=7):
1414
"""Download a file with exponential backoff retry and save to disk."""
15-
for attempt in range(max_retries):
15+
for attempt in range(max_retries + 1):
1616
try:
1717
resp = urlretrieve(
1818
download_location,

0 commit comments

Comments
 (0)