[Zodb-checkins] CVS: ZODB3/ZODB - Transaction.py:1.56.2.4 interfaces.py:1.1.2.2

Jim Fulton jim at zope.com
Fri Jan 23 11:41:53 EST 2004


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv21470/src/ZODB

Modified Files:
      Tag: zope3-zodb3-devel-branch
	Transaction.py interfaces.py 
Log Message:
Changed the signature for tpc_begin so that the subtransaction
argument defaults to False.


=== ZODB3/ZODB/Transaction.py 1.56.2.3 => 1.56.2.4 ===
--- ZODB3/ZODB/Transaction.py:1.56.2.3	Fri Jan 23 10:08:11 2004
+++ ZODB3/ZODB/Transaction.py	Fri Jan 23 11:41:22 2004
@@ -508,7 +508,7 @@
         # trans
         self._sub = False
         
-    def tpc_begin(self, transaction, subtransaction):
+    def tpc_begin(self, transaction, subtransaction=False):
         self._sub = subtransaction
 
     def tpc_abort(self, transaction):


=== ZODB3/ZODB/interfaces.py 1.1.2.1 => 1.1.2.2 ===
--- ZODB3/ZODB/interfaces.py:1.1.2.1	Thu Jan 22 15:08:53 2004
+++ ZODB3/ZODB/interfaces.py	Fri Jan 23 11:41:22 2004
@@ -68,7 +68,7 @@
     # ITransaction object associated with the transaction being
     # committed.
 
-    def tpc_begin(transaction, subtransaction):
+    def tpc_begin(transaction, subtransaction=False):
         """Begin commit of a transaction, starting the two-phase commit.
 
         transaction is the ITransaction instance associated with the




More information about the Zodb-checkins mailing list