Changeset c2c153b for fedd/federation
- Timestamp:
- Mar 8, 2010 6:53:11 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 9b3627e
- Parents:
- 0b799e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/remote_service.py
r0b799e0 rc2c153b 10 10 from M2Crypto.SSL import SSLError 11 11 from ZSI import ParseException, FaultException, SoapWriter 12 13 # Underlying SOAP comms use this and we need to catch their exceptions 14 import httplib 12 15 13 16 from service_error import service_error … … 364 367 print "SSL error contacting %s: %s" % (url, e.message) 365 368 retries += 1 369 except httplib.HTTPException, e: 370 print "HTTP error contacting %s: %s" % (url, e.message) 371 retries +=1 366 372 except Fault, f: 367 373 raise service_error(f.faultCode, f.faultString) … … 436 442 print "SSL error contacting %s: %s" % (url, e.message) 437 443 retries += 1 444 except httplib.HTTPException, e: 445 print "HTTP error contacting %s: %s" % (url, e.message) 446 retries +=1 438 447 except ParseException, e: 439 448 raise service_error(service_error.protocol,
Note: See TracChangeset
for help on using the changeset viewer.