projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
853d05f
)
set proxy environ in set_proxies()
author
Zhang Qiang
<qiang.z.zhang@intel.com>
Mon, 26 Dec 2011 06:23:09 +0000
(14:23 +0800)
committer
Zhang Qiang
<qiang.z.zhang@intel.com>
Mon, 26 Dec 2011 06:23:09 +0000
(14:23 +0800)
mic/utils/proxy.py
patch
|
blob
|
history
diff --git
a/mic/utils/proxy.py
b/mic/utils/proxy.py
index c6681798cba131cea1b1a201d1fc952f8e0bed18..6219236f63ac7a56c75a3daf7430036f8d969563 100644
(file)
--- a/
mic/utils/proxy.py
+++ b/
mic/utils/proxy.py
@@
-162,6
+162,7
@@
def _isnoproxy(url):
def set_proxies(proxy = None, no_proxy = None):
_set_proxies(proxy, no_proxy)
_set_noproxy_list()
+ set_proxy_environ()
def get_proxy_for(url):
if url[0:4] == "file" or _isnoproxy(url):