From: Richard Purdie Date: Fri, 7 Dec 2018 13:08:38 +0000 (+0000) Subject: bitbake: fetch2/wget: Fix typo in exception name X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3630328d05052a473bdb1c8d67d237c5cdfcb72b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 8f505b6de95..1237e56098c 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py @@ -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)