Skip to content

Commit

Permalink
Explicitly import urllib.error to avoid IDE warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Mar 3, 2024
1 parent b3fa754 commit e2c267f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions winbuild/build_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2c267f

Please sign in to comment.