diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 2 |
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 |