[Zope-Checkins] CVS: Products/Transience -
Transience.py:1.32.12.8.2.3
Chris McDonough
chrism at plope.com
Sat Sep 11 21:58:57 EDT 2004
Update of /cvs-repository/Products/Transience
In directory cvs.zope.org:/tmp/cvs-serv9740
Modified Files:
Tag: chrism-pre273-branch
Transience.py
Log Message:
Alright, take this makeTransactionUncommittable out too, it doesn't add any value here.
=== Products/Transience/Transience.py 1.32.12.8.2.2 => 1.32.12.8.2.3 ===
--- Products/Transience/Transience.py:1.32.12.8.2.2 Sat Sep 11 21:56:37 2004
+++ Products/Transience/Transience.py Sat Sep 11 21:58:56 2004
@@ -45,7 +45,6 @@
from zLOG import LOG, WARNING, INFO
from TransientObject import TransientObject
-from TransactionHelper import makeTransactionUncommittable
from Fake import FakeIOBTree
ADD_CONTAINER_PERM = 'Add Transient Object Container'
@@ -593,11 +592,6 @@
if not optional:
DEBUG and TLOG('_replentish: no current bucket but cant aq '
'lock, making txn uncommittable + retry')
- # Out of paranoia, make this transaction uncommittable;
- # this may not be necessary.
- makeTransactionUncommittable(
- get_transaction(), "Transience had no current bucket")
- #time.sleep(random.uniform(0, 1)) # add entropy
raise Retry
else:
More information about the Zope-Checkins
mailing list