Explicitly import urllib.error to avoid IDE warning

This commit is contained in:
Hugo van Kemenade 2024-03-03 17:11:59 +02:00
parent b3fa754e97
commit e2c267f048

View File

@ -463,6 +463,7 @@ def find_msvs(architecture: str) -> dict[str, str] | None:
def download_dep(url: str, file: str) -> None:
import urllib.error
import urllib.request
ex = None