- Timestamp:
- Jun 13, 2012 5:41:00 PM (12 years ago)
- Branches:
- compt_changes, master
- Children:
- 68f03a6
- Parents:
- 9f4b3c6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/util.py
r9f4b3c6 rf490c75 215 215 ok = False 216 216 failed_exception = None 217 while not ok and retries < 5:217 while not ok and retries < max_retries: 218 218 try: 219 219 if log: 220 log.debug('Creating HTTPSConnection ')220 log.debug('Creating HTTPSConnection: %s' % cf) 221 221 conn = httplib.HTTPSConnection(po.hostname, port=po.port, 222 222 cert_file=cf, key_file=cf, timeout=30) … … 253 253 retries += 1 254 254 255 if retries > 5and failed_exception:255 if retries > max_retries and failed_exception: 256 256 if log: 257 257 log.debug('Raising %s', failed_exception)
Note: See TracChangeset
for help on using the changeset viewer.