Skip to content

Commit

Permalink
Import exceptions from urllib.error instead of urllib.request
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Oct 11, 2023
1 parent c3bf73a commit 83876d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from tempfile import NamedTemporaryFile, mkdtemp
from urllib.parse import urlsplit
from urllib.request import URLError, HTTPError
from urllib.error import URLError, HTTPError
from xml.etree import ElementTree as ET

from . import conf
Expand Down

0 comments on commit 83876d3

Please sign in to comment.