Commit 75a0af6e authored by ericw's avatar ericw
Browse files

Add another error exit

parent b14c2292
......@@ -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.2 2007/02/12 17:31:13 ericw Exp $"
__revision__ = "$Id: test_squid.py,v 1.3 2007/02/14 21:40:22 ericw Exp $"
import os
import sys
import urllib2
......@@ -48,6 +48,7 @@ slcfil = os.environ["CMS_PATH"] + \
"/SITECONF/local/JobConfig/site-local-config.xml"
if not os.path.exists(slcfil):
print "test_squid.py: Error. file " + slcfil + " does not exist"
sys.exit(same_error)
#
# Read and parse site-local-config.xml into a dom
# See http://docs.python.org/lib/module-xml.dom.minidom.html
......
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