Commit 36135eb4 authored by Jérome Perrin's avatar Jérome Perrin

replace backward compatibilty empty modules by simple names on the top level __init__.py



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8489 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3c0610b
#Only for compatibility
#Only for compatibility
......@@ -32,7 +32,6 @@
# Update ERP5 Globals
from Products.ERP5Type.Utils import initializeProduct, updateGlobals
import sys, Permissions
#import MovementGroup
this_module = sys.modules[ __name__ ]
document_classes = updateGlobals( this_module, globals(), permissions_module = Permissions)
from Products.PythonScripts.Utility import allow_class
......@@ -73,7 +72,6 @@ from InteractionWorkflow import InteractionWorkflowDefinition
def initialize( context ):
import Document
from zLOG import LOG
LOG('In ERP5 initialize', 0, '')
# Initialize
initializeProduct(context, this_module, globals(),
document_module = Document,
......@@ -83,6 +81,9 @@ def initialize( context ):
content_constructors = content_constructors,
content_classes = content_classes)
ModuleSecurityInfo('ZODB.POSException').declarePublic('ConflictError')
ModuleSecurityInfo('ZODB.POSException').declarePublic('ConflictError')
# backward compatibility names
XML = None
UI = None
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