Skip to content

Commit ad48a74

Browse files
put a break after successful download
1 parent c557669 commit ad48a74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/config/tools/kimitems

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ def download(obj, tmp=False, compression="txz"):
155155
for i in range(MAX_URLLIB_ATTEMPTS):
156156
try:
157157
urllib.request.urlretrieve(url, outname)
158+
break
158159
except Exception as e:
159160
print(
160161
"Failed to download item with the following exception:\n"

0 commit comments

Comments
 (0)