[Zodb-checkins] CVS: Zope/lib/python/ZODB - __init__.py:1.28
Transaction.py:NONE
Tim Peters
tim.one at comcast.net
Mon Apr 5 14:48:54 EDT 2004
Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv30273/lib/python/ZODB
Modified Files:
__init__.py
Removed Files:
Transaction.py
Log Message:
Removed Transaction.py. The new transaction package takes its place.
get_transaction() is still stuffed into __builtin__ as a magical side
effect of importing ZODB.
=== Zope/lib/python/ZODB/__init__.py 1.27 => 1.28 ===
--- Zope/lib/python/ZODB/__init__.py:1.27 Tue Jan 6 23:08:56 2004
+++ Zope/lib/python/ZODB/__init__.py Mon Apr 5 14:48:16 2004
@@ -15,11 +15,16 @@
__version__ = "3.3a2"
import sys
+import __builtin__
from persistent import TimeStamp
from DB import DB
-import Transaction
+from transaction import get as get_transaction
# Backward compat for old imports. I don't think TimeStamp should
-# really be in persistent anyway
+# really be in persistent anyway.
sys.modules['ZODB.TimeStamp'] = sys.modules['persistent.TimeStamp']
+
+# XXX Issue deprecation warning if this variant is used?
+__builtin__.get_transaction = get_transaction
+del __builtin__
=== Removed File Zope/lib/python/ZODB/Transaction.py ===
More information about the Zodb-checkins
mailing list