summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib/bb/fetch')
-rw-r--r--bitbake-dev/lib/bb/fetch/wget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/fetch/wget.py b/bitbake-dev/lib/bb/fetch/wget.py
index 75357d539b..0008a28700 100644
--- a/bitbake-dev/lib/bb/fetch/wget.py
+++ b/bitbake-dev/lib/bb/fetch/wget.py
@@ -72,14 +72,14 @@ class Wget(Fetch):
72 ftpproxy = None 72 ftpproxy = None
73 if uri_type == 'http': 73 if uri_type == 'http':
74 httpproxy = data.getVar("HTTP_PROXY", d, True) 74 httpproxy = data.getVar("HTTP_PROXY", d, True)
75 httpproxy_ignore = data.getVar("HTTP_PROXY_IGNORE", d, True).split() 75 httpproxy_ignore = (data.getVar("HTTP_PROXY_IGNORE", d, True) or "").split()
76 for p in httpproxy_ignore: 76 for p in httpproxy_ignore:
77 if uri_host.endswith(p): 77 if uri_host.endswith(p):
78 httpproxy = None 78 httpproxy = None
79 break 79 break
80 if uri_type == 'ftp': 80 if uri_type == 'ftp':
81 ftpproxy = data.getVar("FTP_PROXY", d, True) 81 ftpproxy = data.getVar("FTP_PROXY", d, True)
82 ftpproxy_ignore = data.getVar("HTTP_PROXY_IGNORE", d, True).split() 82 ftpproxy_ignore = (data.getVar("HTTP_PROXY_IGNORE", d, True) or "").split()
83 for p in ftpproxy_ignore: 83 for p in ftpproxy_ignore:
84 if uri_host.endswith(p): 84 if uri_host.endswith(p):
85 ftpproxy = None 85 ftpproxy = None