Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
cmssam
Commits
75a0af6e
Commit
75a0af6e
authored
Feb 14, 2007
by
ericw
Browse files
Add another error exit
parent
b14c2292
Changes
1
Hide whitespace changes
Inline
Side-by-side
SiteTests/FroNtier/tests/test_squid.py
View file @
75a0af6e
...
...
@@ -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/1
2 17:31:13
ericw Exp $"
__revision__
=
"$Id: test_squid.py,v 1.
3
2007/02/1
4 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment