Commit f7d2763d authored by Luis Emiro Linares Garcia's avatar Luis Emiro Linares Garcia
Browse files

HTTP_PROXY environment variable overridden in test_squid.py

parent d484d202
......@@ -10,7 +10,7 @@ Tests the local FroNtier squid
# 3) file $CMS_PATH/SITECONF/local/JobConfig/site-local-config.xml
# contains the location of the local FroNtier squid server
#
__revision__ = "$Id: test_squid.py,v 1.30 2012/10/24 13:30:07 asciaba Exp $"
__revision__ = "$Id: test_squid.py,v 1.31 2013/03/20 16:27:34 llinares Exp $"
import os
import sys
import urllib2
......@@ -280,6 +280,7 @@ for squid in prlist:
#
print "squid: " + squid
os.environ["http_proxy"] = squid
os.environ["HTTP_PROXY"] = squid
#
# Create request
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment