Le 21/03/2012 23:54, Claudiu Saftoiu a écrit :
Hum, if I understood correctly, lock acquiring is done before any change
are made. So the only thing I would have done here is to have a
transaction.begin() after lock.acquire. So you know the other
transaction is committed and you won't have any conflict in you new
Hello ZODB List,
key = ...
print "Acquiring %s lock..." % (key,)
print "%s lock acquired." % (key,)
print "(after %s commit): Released %s lock" % (('failed',
Does it helps ?
06 78 33 15 37
For more information about ZODB, see http://zodb.org/
ZODB-Dev mailing list - ZODB-Dev@zope.org