Back to index

plone3  3.1.7
bbb.py
Go to the documentation of this file.
00001 """
00002 Backward compatibility module.
00003 """
00004 import sys
00005 import generator
00006 import ReferenceEngine
00007 import UIDCatalog
00008 
00009 # prevent failure of Products.generator module
00010 sys.modules['Products.generator'] = generator
00011 
00012 # don't break existing ZODB instances of UID catalog
00013 ReferenceEngine.UIDBaseCatalog = UIDCatalog.UIDBaseCatalog
00014 ReferenceEngine.UIDCatalog = UIDCatalog.UIDCatalog