diff options
Diffstat (limited to 'meta/lib/oe/distro_check.py')
-rw-r--r-- | meta/lib/oe/distro_check.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index b3419ce03a..f92cd2e423 100644 --- a/meta/lib/oe/distro_check.py +++ b/meta/lib/oe/distro_check.py | |||
@@ -10,13 +10,8 @@ def create_socket(url, d): | |||
10 | 10 | ||
11 | def get_proxies(d): | 11 | def get_proxies(d): |
12 | import os | 12 | import os |
13 | proxykeys = ['HTTP_PROXY', 'http_proxy', | 13 | proxykeys = ['http', 'https', 'ftp', 'ftps', 'no', 'all'] |
14 | 'HTTPS_PROXY', 'https_proxy', | 14 | proxyvalues = map(lambda key: d.getVar(key+'_proxy', True), proxykeys) |
15 | 'FTP_PROXY', 'ftp_proxy', | ||
16 | 'FTPS_PROXY', 'ftps_proxy', | ||
17 | 'NO_PROXY', 'no_proxy', | ||
18 | 'ALL_PROXY', 'all_proxy'] | ||
19 | proxyvalues = map(lambda key: d.getVar(key, True), proxykeys) | ||
20 | return dict(zip(proxykeys, proxyvalues)) | 15 | return dict(zip(proxykeys, proxyvalues)) |
21 | 16 | ||
22 | def get_links_from_url(url, d): | 17 | def get_links_from_url(url, d): |