[Zodb-checkins] SVN: ZODB/trunk/src/transaction/_transaction.py
Revert inappropriate checkin.
Tim Peters
tim.one at comcast.net
Wed Oct 5 15:54:41 EDT 2005
Log message for revision 38776:
Revert inappropriate checkin.
The new text wasn't more accurate than the text it
replaced. I'll add more words, but on the 3.5 branch
(where it belongs), and then merge that to the trunk.
Changed:
U ZODB/trunk/src/transaction/_transaction.py
-=-
Modified: ZODB/trunk/src/transaction/_transaction.py
===================================================================
--- ZODB/trunk/src/transaction/_transaction.py 2005-10-05 19:46:30 UTC (rev 38775)
+++ ZODB/trunk/src/transaction/_transaction.py 2005-10-05 19:54:40 UTC (rev 38776)
@@ -362,7 +362,7 @@
elif deprecation_wng:
from ZODB.utils import deprecated37
deprecated37("subtransactions are deprecated; use "
- "transaction.savepoint(optimistic=True) instead of "
+ "transaction.savepoint() instead of "
"transaction.commit(1)")
if self._savepoint2index:
@@ -370,7 +370,7 @@
if subtransaction:
# TODO deprecate subtransactions
- self._subtransaction_savepoint = self.savepoint(optimistic=True)
+ self._subtransaction_savepoint = self.savepoint(1)
return
if self.status is Status.COMMITFAILED:
More information about the Zodb-checkins
mailing list