- Timestamp:
- May 11, 2010 10:37:41 AM (15 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
- Children:
- 7dbfaed
- Parents:
- 175b444
- Location:
- fedd/federation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/remote_service.py
r175b444 r10a7053 4 4 5 5 from socket import error as socket_error 6 from socket import sslerror 6 7 7 8 import M2Crypto.httpslib … … 368 369 if self.log: 369 370 self.log.warn("BIO error contacting %s: %s" % (url, e)) 371 retries += 1 372 except sslerror, e: 373 if self.log: 374 self.log.warn("SSL (socket) error contacting %s: %s" % 375 (url, e)) 370 376 retries += 1 371 377 except SSLError, e: … … 465 471 fail_exc = e 466 472 retries += 1 473 except sslerror, e: 474 if self.log: 475 self.log.warn("SSL (socket) error contacting %s: %s" % 476 (url, e)) 477 retries += 1 467 478 except SSLError, e: 468 479 if self.log: -
fedd/federation/util.py
r175b444 r10a7053 6 6 7 7 import httplib 8 9 from socket import sslerror 8 10 9 11 from M2Crypto import SSL … … 206 208 failed_exception = e 207 209 retries += 1 210 except sslerror, e: 211 failed_exception = e 212 retries += 1 208 213 except SSLError, e: 209 214 failed_exception = e
Note: See TracChangeset
for help on using the changeset viewer.