Commit e4b51cc8 authored by Andrea Sciaba's avatar Andrea Sciaba
Browse files

Removed dump of site local config (still available in squid test)

parent 59e38584
......@@ -10,7 +10,7 @@ Tests the local FroNtier
# 3) file $CMS_PATH/SITECONF/local/JobConfig/site-local-config.xml
# contains the location of the local FroNtier squid server
#
__revision__ = "$Id: test_frontier.py,v 1.5 2010/10/19 14:59:14 wangw Exp $"
__revision__ = "$Id: test_frontier.py,v 1.6 2012/10/24 13:32:19 asciaba Exp $"
import os
import sys
import urllib2
......@@ -58,18 +58,15 @@ if not os.environ.has_key("CMS_PATH"):
#
slcfil = os.environ["CMS_PATH"] + \
"/SITECONF/local/JobConfig/site-local-config.xml"
print slcfil
if not os.path.exists(slcfil):
print "test_frontier.py: Error. file " + slcfil + " does not exist"
sys.exit(same_error)
#
# Print out site-local-config.xml
#
print "Contents of site-local-config.xml are:"
fileobj = open(slcfil,'r')
slcprint = fileobj.read()
slcprint = slcprint.replace('<','&lt;')
print slcprint
fileobj.close()
#
# Read and parse site-local-config.xml into a dom
......
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