We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0f84f commit 255cb80Copy full SHA for 255cb80
1 file changed
Tools/build/generate_sbom.py
@@ -7,6 +7,7 @@
7
import re
8
import subprocess
9
import sys
10
+import time
11
import typing
12
import urllib.request
13
import urllib.error
@@ -162,7 +163,7 @@ def get_externals() -> list[str]:
162
163
return externals
164
165
-def download_with_retries(download_location, retries=5):
166
+def download_with_retries(download_location: str, retries: int = 5):
167
"""Download a file with exponential backoff retry."""
168
attempt = 0
169
while attempt < retries:
0 commit comments