aboutsummaryrefslogtreecommitdiffstats
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 15:29:34 +0000
commit19f4ca0119e33df64da629253d5002fcdb385f4f (patch)
treeb43b29ed5f4cdf345c24bc4ab69cf67738e763c0
parentef062a3251af474fdeb480149856be3887b8c1c9 (diff)
downloadbitbake-contrib-19f4ca0119e33df64da629253d5002fcdb385f4f.tar.gz
fetch2/wget: Fix typo in proxy handling
Fix a typo in a variable which would affect proxy handling spotted by pylint. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/fetch2/wget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/wget.py b/lib/bb/fetch2/wget.py
index 8ec5731b0..24ffd2218 100644
--- a/lib/bb/fetch2/wget.py
+++ b/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