[ZODB-Dev] Automating retry management

Nitro nitro at dr-code.org
Tue May 11 08:02:02 EDT 2010


>      def __exit__(self, t, v, tb):
>          if t is not None:
>              self.txn.abort()
>          else:
>              for i in range(self.retryCount):

Oops, bug here. It should read range(1 + self.retryCount). It should  
probably have unittests anyway :-)

-Matthias


More information about the ZODB-Dev mailing list