Commit c2ad213a authored by Jeremy Hylton's avatar Jeremy Hylton

Appease the Society to Promote Whitespace.

parent 5abf0ba1
......@@ -20,25 +20,25 @@ from zLOG import register_subsystem
register_subsystem('ZODB')
# This is lame. Don't look. :(
sys.modules['cPersistence']=cPersistence
sys.modules['cPersistence'] = cPersistence
Persistent=cPersistence.Persistent
Persistent = cPersistence.Persistent
# Install Persistent and PersistentMapping in Persistence
if not hasattr(Persistence, 'Persistent'):
Persistence.Persistent=Persistent
Persistent.__module__='Persistence'
Persistence.Overridable=cPersistence.Overridable
Persistence.Overridable.__module__='Persistence'
Persistence.Persistent = Persistent
Persistent.__module__ = 'Persistence'
Persistence.Overridable = cPersistence.Overridable
Persistence.Overridable.__module__ = 'Persistence'
if not hasattr(Persistence, 'PersistentMapping'):
import PersistentMapping
sys.modules['PersistentMapping']=PersistentMapping
sys.modules['BoboPOS']=sys.modules['ZODB']
sys.modules['BoboPOS.PersistentMapping']=PersistentMapping
PersistentMapping=PersistentMapping.PersistentMapping
sys.modules['PersistentMapping'] = PersistentMapping
sys.modules['BoboPOS'] = sys.modules['ZODB']
sys.modules['BoboPOS.PersistentMapping'] = PersistentMapping
PersistentMapping = PersistentMapping.PersistentMapping
from PersistentMapping import PersistentMapping
Persistence.PersistentMapping=PersistentMapping
PersistentMapping.__module__='Persistence'
Persistence.PersistentMapping = PersistentMapping
PersistentMapping.__module__ = 'Persistence'
del PersistentMapping
del cPersistence
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment