[Zope-Checkins] CVS: Zope/lib/python/Shared/DC/ZRDB - TM.py:1.10.24.1

Andreas Jung andreas@andreas-jung.com
Sat, 16 Nov 2002 11:41:15 -0500


Update of /cvs-repository/Zope/lib/python/Shared/DC/ZRDB
In directory cvs.zope.org:/tmp/cvs-serv25283/Shared/DC/ZRDB

Modified Files:
      Tag: ajung-restructuredtext-integration-branch
	TM.py 
Log Message:
merge from trunk

=== Zope/lib/python/Shared/DC/ZRDB/TM.py 1.10 => 1.10.24.1 ===
--- Zope/lib/python/Shared/DC/ZRDB/TM.py:1.10	Wed Aug 14 17:50:59 2002
+++ Zope/lib/python/Shared/DC/ZRDB/TM.py	Sat Nov 16 11:40:44 2002
@@ -17,12 +17,15 @@
 class TM:
     """Mix-in class that provides transaction management support
 
-    A sub class should call self._register() whenever it performs
-    any transaction-dependent operations (e.g. sql statements).
+    A sub class should call self._register() whenever it performs any
+    transaction-dependent operations (e.g. sql statements).
 
-    The sub class will need to override _finish, to finallize work,
-    _abort, to roll-back work, and perhaps _begin, if any work is needed
-    at the start of a transaction.
+    The sub class will need to override _finish, to finalize work,
+    _abort, to roll-back work, and perhaps _begin, if any work is
+    needed at the start of a transaction.
+
+    A subclass that uses locking during transaction commit must
+    defined a sortKey() method.
     """
 
     _registered=None