summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/wget.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-16 13:02:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-19 23:54:41 +0000
commit9a1faba274dfaa39203271f1997a81e41f36ae93 (patch)
tree970ecddcabd181de166b84108dcb26741077cc79 /bitbake/lib/bb/fetch2/wget.py
parent202b7d05210cae0a781e1db11f0805519d6dc6ed (diff)
downloadpoky-9a1faba274dfaa39203271f1997a81e41f36ae93.tar.gz
bitbake: fetch2/wget: Fix typo in proxy handling
Fix a typo in a variable which would affect proxy handling spotted by pylint. (Bitbake rev: 19f4ca0119e33df64da629253d5002fcdb385f4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/wget.py')
-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 8ec5731b0c..24ffd22186 100644
--- a/bitbake/lib/bb/fetch2/wget.py
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -296,7 +296,7 @@ class Wget(FetchMethod):
296 exported_proxies = export_proxies(d) 296 exported_proxies = export_proxies(d)
297 297
298 handlers = [FixedHTTPRedirectHandler, HTTPMethodFallback] 298 handlers = [FixedHTTPRedirectHandler, HTTPMethodFallback]
299 if export_proxies: 299 if exported_proxies:
300 handlers.append(urllib.request.ProxyHandler()) 300 handlers.append(urllib.request.ProxyHandler())
301 handlers.append(CacheHTTPHandler()) 301 handlers.append(CacheHTTPHandler())
302 # XXX: Since Python 2.7.9 ssl cert validation is enabled by default 302 # XXX: Since Python 2.7.9 ssl cert validation is enabled by default