Skip to content

Commit 209eccc

Browse files
Wrap function signature tighter
Co-authored-by: Semyon Moroz <donbarbos@proton.me>
1 parent ef5731b commit 209eccc

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

PCbuild/get_external.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@
1010
from urllib.request import urlretrieve
1111

1212

13-
def retrieve_with_retries(download_location,
14-
output_path,
15-
reporthook,
16-
max_retries = 7,
17-
base_delay = 2.25,
18-
max_jitter = 1.0):
13+
def retrieve_with_retries(download_location, output_path, reporthook,
14+
max_retries=7, base_delay=2.25, max_jitter=1.0):
1915
"""Download a file with exponential backoff retry and save to disk."""
2016
for attempt in range(max_retries):
2117
try:

0 commit comments

Comments
 (0)