Commit 386233b5 authored by ericw's avatar ericw
Browse files

Update to error handling.

parent ee69ac9f
......@@ -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.10 2007/03/02 17:01:35 ericw Exp $"
__revision__ = "$Id: test_squid.py,v 1.11 2007/03/02 17:09:03 ericw Exp $"
import os
import sys
import urllib2
......@@ -156,7 +156,6 @@ except urllib2.HTTPError, e1:
print " urllib2.HTTPError: " + message1
sys.exit(same_error)
except urllib2.URLError, e2:
print "urllib2.URLError"
message2 = e2.reason[1]
if site != "CERN":
print "test_squid.py: Error. squid " + squid + " is down, "
......
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