summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-07 13:08:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-08 17:17:37 +0000
commit3630328d05052a473bdb1c8d67d237c5cdfcb72b (patch)
treec096e857b0d3cffd7d14d35690bf3f64e9da9638 /bitbake
parent89e2d2835d5001eee1c7da1bdaab64e9438fc63a (diff)
downloadpoky-3630328d05052a473bdb1c8d67d237c5cdfcb72b.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/wget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
index 8f505b6de9..1237e56098 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -168,7 +168,7 @@ class Wget(FetchMethod):
168 """ 168 """
169 host = req.host 169 host = req.host
170 if not host: 170 if not host:
171 raise urlllib2.URLError('no host given') 171 raise urllib.error.URLError('no host given')
172 172
173 h = http_class(host, timeout=req.timeout) # will parse host:port 173 h = http_class(host, timeout=req.timeout) # will parse host:port
174 h.set_debuglevel(self._debuglevel) 174 h.set_debuglevel(self._debuglevel)