[Zope3-checkins] CVS: Zope3/lib/python/ZODB - DB.py:1.49
Jeremy Hylton
jeremy@zope.com
Mon, 22 Jul 2002 16:15:59 -0400
Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv31710/ZODB
Modified Files:
DB.py
Log Message:
Limit the trickery in Persistence/__init__.py.
User code should get PersistentMapping and PersistentList from their
modules explicitly. Fixup several Zope modules that use
PersistentMapping.
=== Zope3/lib/python/ZODB/DB.py 1.48 => 1.49 ===
storage.load('\0\0\0\0\0\0\0\0', '')
except KeyError:
# Create the database's root in the storage if it doesn't exist
- from Persistence import PersistentMapping
+ from Persistence.PersistentMapping import PersistentMapping
root = PersistentMapping()
# Manually create a pickle for the root to put in the storage.
# The pickle must be in the special ZODB format.