Changeset 8cce763 for fedd/federation


Ignore:
Timestamp:
Mar 17, 2010 2:20:38 AM (15 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
09b4dc4
Parents:
97edf0d
Message:

Errors in the retry stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/remote_service.py

    r97edf0d r8cce763  
    376376                        "Remote XMLRPC Fault: %s" % e)
    377377
    378         if retries > self.max_retries :
    379             raise service_error(req.connect, "Too many SSL failures")
     378        if retries >= self.max_retries :
     379            raise service_error(service_error.connect, "Too many SSL failures")
    380380
    381381        return self.apply_to_tags(resp, self.decap_fedids)
     
    457457                            "Unexpected fault body")
    458458
    459         if retries > self.max_retries :
    460             raise service_error(req.connect, "Too many SSL failures")
     459        if retries >= self.max_retries :
     460            raise service_error(service_error.connect, "Too many SSL failures")
    461461
    462462        # Unpack and convert fedids to objects
Note: See TracChangeset for help on using the changeset viewer.