mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
bitbake: fetch2/wget: Fix typo in exception name
This could clearly never have worked since the python3 migration but as its in an error path, it doesn't get tested/used much. (Bitbake rev: 704f27dc28d50a6dc02c8b64274ee4ecb3058c4a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -168,7 +168,7 @@ class Wget(FetchMethod):
|
|||||||
"""
|
"""
|
||||||
host = req.host
|
host = req.host
|
||||||
if not host:
|
if not host:
|
||||||
raise urlllib2.URLError('no host given')
|
raise urllib.error.URLError('no host given')
|
||||||
|
|
||||||
h = http_class(host, timeout=req.timeout) # will parse host:port
|
h = http_class(host, timeout=req.timeout) # will parse host:port
|
||||||
h.set_debuglevel(self._debuglevel)
|
h.set_debuglevel(self._debuglevel)
|
||||||
|
|||||||
Reference in New Issue
Block a user