Commit 5e144945 authored by ericw's avatar ericw
Browse files

Change to error message

parent e77ff024
...@@ -10,7 +10,7 @@ Tests the local FroNtier squid ...@@ -10,7 +10,7 @@ Tests the local FroNtier squid
# 3) file $CMS_PATH/SITECONF/local/JobConfig/site-local-config.xml # 3) file $CMS_PATH/SITECONF/local/JobConfig/site-local-config.xml
# contains the location of the local FroNtier squid server # contains the location of the local FroNtier squid server
# #
__revision__ = "$Id: test_squid.py,v 1.7 2007/03/01 16:07:53 ericw Exp $" __revision__ = "$Id: test_squid.py,v 1.8 2007/03/01 19:18:14 ericw Exp $"
import os import os
import sys import sys
import urllib2 import urllib2
...@@ -151,9 +151,8 @@ except urllib2.URLError, e: ...@@ -151,9 +151,8 @@ except urllib2.URLError, e:
print " " + message print " " + message
sys.exit(same_error) sys.exit(same_error)
else: else:
print "test_squid.py: Error. FroNtier server " + frontierUrl + \ print "test_squid.py: Error. FroNtier server " + frontierUrl
" is down, " print " is down, unreachable or will not reply."
print " unreachable or will not reply."
print " " + message print " " + message
sys.exit(same_error) sys.exit(same_error)
except: except:
......
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