fetch2/wget: Fix typo in exception name
PATCH 1/1 fetch2/wget: Fix typo in exception name
This could clearly never have worked but as its in an error path, it doesn't get tested/used much.
Signed-off-by Richard Purdie <[email protected]>
--- lib/bb/fetch2/wget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/fetch2/wget.py +1 -1
@@ -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)
Signature · 1 line
2.19.1
Quoted 2 lines · Richard Purdie
This could clearly never have worked but as its in an error path, it doesn't get tested/used much.
For the record, could clearly never have worked *since* the python3 migration.
commit 0f2c59367a649de5f57acdccfb4f1fdba9cde730
Author: Richard Purdie <[email protected]>
Date: Thu May 12 08:30:35 2016 +0100
bitbake: bitbake: Convert to python 3
Signature · 1 line
olofjn