From 9a1faba274dfaa39203271f1997a81e41f36ae93 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 16 Mar 2019 13:02:53 +0000 Subject: 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 --- bitbake/lib/bb/fetch2/wget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/fetch2') 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): exported_proxies = export_proxies(d) handlers = [FixedHTTPRedirectHandler, HTTPMethodFallback] - if export_proxies: + if exported_proxies: handlers.append(urllib.request.ProxyHandler()) handlers.append(CacheHTTPHandler()) # XXX: Since Python 2.7.9 ssl cert validation is enabled by default -- cgit v1.2.3-54-g00ecf