[Zodb-checkins] CVS: Zope3/src/transaction - __init__.py:1.3.52.1 interfaces.py:NONE manager.py:NONE txn.py:NONE

Jim Fulton jim at zope.com
Fri Jan 9 18:10:19 EST 2004


Update of /cvs-repository/Zope3/src/transaction
In directory cvs.zope.org:/tmp/cvs-serv834/src/transaction

Modified Files:
      Tag: zope3-zodb3-devel-branch
	__init__.py 
Removed Files:
      Tag: zope3-zodb3-devel-branch
	interfaces.py manager.py txn.py 
Log Message:
Changed the transaction package to a facade for ZODB.Transaction.


=== Zope3/src/transaction/__init__.py 1.3 => 1.3.52.1 ===
--- Zope3/src/transaction/__init__.py:1.3	Wed Mar  5 17:12:38 2003
+++ Zope3/src/transaction/__init__.py	Fri Jan  9 18:09:48 2004
@@ -1,6 +1,6 @@
-##############################################################################
+############################################################################
 #
-# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# Copyright (c) 2001, 2002, 2004 Zope Corporation and Contributors.
 # All Rights Reserved.
 #
 # This software is subject to the provisions of the Zope Public License,
@@ -10,12 +10,7 @@
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE.
 #
-##############################################################################
+############################################################################
 
-from transaction.manager import ThreadedTransactionManager
+from ZODB.Transaction import get_transaction
 
-_manager = ThreadedTransactionManager()
-get_transaction = _manager.get
-
-def set_factory(factory):
-    _manager.txn_factory = factory

=== Removed File Zope3/src/transaction/interfaces.py ===

=== Removed File Zope3/src/transaction/manager.py ===

=== Removed File Zope3/src/transaction/txn.py ===




More information about the Zodb-checkins mailing list