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 ...@@ -20,25 +20,25 @@ from zLOG import register_subsystem
register_subsystem('ZODB') register_subsystem('ZODB')
# This is lame. Don't look. :( # 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 # Install Persistent and PersistentMapping in Persistence
if not hasattr(Persistence, 'Persistent'): if not hasattr(Persistence, 'Persistent'):
Persistence.Persistent=Persistent Persistence.Persistent = Persistent
Persistent.__module__='Persistence' Persistent.__module__ = 'Persistence'
Persistence.Overridable=cPersistence.Overridable Persistence.Overridable = cPersistence.Overridable
Persistence.Overridable.__module__='Persistence' Persistence.Overridable.__module__ = 'Persistence'
if not hasattr(Persistence, 'PersistentMapping'): if not hasattr(Persistence, 'PersistentMapping'):
import PersistentMapping import PersistentMapping
sys.modules['PersistentMapping']=PersistentMapping sys.modules['PersistentMapping'] = PersistentMapping
sys.modules['BoboPOS']=sys.modules['ZODB'] sys.modules['BoboPOS'] = sys.modules['ZODB']
sys.modules['BoboPOS.PersistentMapping']=PersistentMapping sys.modules['BoboPOS.PersistentMapping'] = PersistentMapping
PersistentMapping=PersistentMapping.PersistentMapping PersistentMapping = PersistentMapping.PersistentMapping
from PersistentMapping import PersistentMapping from PersistentMapping import PersistentMapping
Persistence.PersistentMapping=PersistentMapping Persistence.PersistentMapping = PersistentMapping
PersistentMapping.__module__='Persistence' PersistentMapping.__module__ = 'Persistence'
del PersistentMapping del PersistentMapping
del cPersistence 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