[Zodb-checkins] CVS: Zope/lib/python/Persistence - __init__.py:1.7
Jim Fulton
jim at zope.com
Mon Dec 15 02:30:28 EST 2003
Update of /cvs-repository/Zope/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv15918
Modified Files:
__init__.py
Log Message:
This is a travesty. Whimper. The Data.fs.in used in Zope 2 have
ancient pickles refering to BoboPOS. Waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
=== Zope/lib/python/Persistence/__init__.py 1.6 => 1.7 ===
--- Zope/lib/python/Persistence/__init__.py:1.6 Mon Dec 15 01:59:19 2003
+++ Zope/lib/python/Persistence/__init__.py Mon Dec 15 02:30:27 2003
@@ -46,3 +46,11 @@
Overridable = Persistent
from Persistence.mapping import PersistentMapping
+
+# This is a travesty. Whimper. The Data.fs.in used in Zope 2 have
+# ancient pickles refering to BoboPOS. Waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!
+import sys
+sys.modules['BoboPOS'] = sys.modules['Persistence']
+sys.modules['BoboPOS.PersistentMapping'] = sys.modules['Persistence.mapping']
+del sys
+
More information about the Zodb-checkins
mailing list