1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +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:
Richard Purdie
2018-12-07 13:08:38 +00:00
parent 89e2d2835d
commit 3630328d05
+1 -1
View File
@@ -168,7 +168,7 @@ class Wget(FetchMethod):
"""
host = req.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.set_debuglevel(self._debuglevel)