[Zodb-checkins] CVS: Zope/lib/python/ZODB - __init__.py:1.23.6.3
Jim Fulton
cvs-admin at zope.org
Mon Nov 3 11:20:08 EST 2003
Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv19678/lib/python/ZODB
Modified Files:
Tag: zodb33-devel-branch
__init__.py
Log Message:
For backward compatability, made it possible to import TimeStamp
from ZODB. I don't really see a good reason for it to have moved.
=== Zope/lib/python/ZODB/__init__.py 1.23.6.2 => 1.23.6.3 ===
--- Zope/lib/python/ZODB/__init__.py:1.23.6.2 Wed Jul 16 16:21:25 2003
+++ Zope/lib/python/ZODB/__init__.py Mon Nov 3 11:20:05 2003
@@ -17,3 +17,9 @@
from DB import DB
import Transaction
+
+# Backward compat for old imports. I don't think TimeStamp should
+# really be in persistent anyway
+from persistent import TimeStamp
+import sys
+sys.modules['ZODB.TimeStamp'] = sys.modules['persistent.TimeStamp']
More information about the Zodb-checkins
mailing list