diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-04 21:11:58 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-04 21:11:58 +0000 |
commit | 510d5d7f4d0fab6af6f924de92f8db21c42b3f52 (patch) | |
tree | 4e6f8e6eee5ef871ab93a046998dbb9545af6f7d /bitbake | |
parent | 973bba1edee9211270ec150c8b635563a9f50255 (diff) | |
download | openembedded-core-510d5d7f4d0fab6af6f924de92f8db21c42b3f52.tar.gz openembedded-core-510d5d7f4d0fab6af6f924de92f8db21c42b3f52.tar.bz2 openembedded-core-510d5d7f4d0fab6af6f924de92f8db21c42b3f52.tar.xz openembedded-core-510d5d7f4d0fab6af6f924de92f8db21c42b3f52.zip |
bitbake wget.py: Fix problem with empty proxy variables
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch/wget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py index 75357d539..0008a2870 100644 --- a/bitbake/lib/bb/fetch/wget.py +++ b/bitbake/lib/bb/fetch/wget.py @@ -72,14 +72,14 @@ class Wget(Fetch): ftpproxy = None if uri_type == 'http': httpproxy = data.getVar("HTTP_PROXY", d, True) - httpproxy_ignore = data.getVar("HTTP_PROXY_IGNORE", d, True).split() + httpproxy_ignore = (data.getVar("HTTP_PROXY_IGNORE", d, True) or "").split() for p in httpproxy_ignore: if uri_host.endswith(p): httpproxy = None break if uri_type == 'ftp': ftpproxy = data.getVar("FTP_PROXY", d, True) - ftpproxy_ignore = data.getVar("HTTP_PROXY_IGNORE", d, True).split() + ftpproxy_ignore = (data.getVar("HTTP_PROXY_IGNORE", d, True) or "").split() for p in ftpproxy_ignore: if uri_host.endswith(p): ftpproxy = None |