Commit a483495c authored by Nicolas Dumazet's avatar Nicolas Dumazet

naming guidelines: one_two instead of onetwo


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39427 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5c88edaf
...@@ -29,7 +29,7 @@ from Products.ERP5Type.ERP5Type import ERP5TypeInformation ...@@ -29,7 +29,7 @@ from Products.ERP5Type.ERP5Type import ERP5TypeInformation
from Products.ERP5Type.UnrestrictedMethod import UnrestrictedMethod from Products.ERP5Type.UnrestrictedMethod import UnrestrictedMethod
from zLOG import LOG, WARNING, PANIC from zLOG import LOG, WARNING, PANIC
from Products.ERP5Type.interfaces import ITypeProvider, ITypesTool from Products.ERP5Type.interfaces import ITypeProvider, ITypesTool
from Products.ERP5Type.dynamic.portaltypeclass import synchronizeDynamicModules from Products.ERP5Type.dynamic.portal_type_class import synchronizeDynamicModules
class ComposedObjectIds(object): class ComposedObjectIds(object):
......
...@@ -967,7 +967,7 @@ def importLocalDocument(class_id, document_path = None): ...@@ -967,7 +967,7 @@ def importLocalDocument(class_id, document_path = None):
return MigrateMe return MigrateMe
else: else:
return klass return klass
from dynamic.dynamicmodule import newDynamicModule from dynamic.dynamic_module import newDynamicModule
document_module = newDynamicModule(module_name, migrate_me_document_loader) document_module = newDynamicModule(module_name, migrate_me_document_loader)
setattr(Products.ERP5Type.Document, class_id, document_module) setattr(Products.ERP5Type.Document, class_id, document_module)
......
...@@ -99,8 +99,8 @@ def initialize( context ): ...@@ -99,8 +99,8 @@ def initialize( context ):
content_constructors = content_constructors, content_constructors = content_constructors,
content_classes = content_classes) content_classes = content_classes)
from dynamic import portaltypeclass from dynamic.portal_type_class import initializeDynamicModules
portaltypeclass.initializeDynamicModules() initializeDynamicModules()
# Register our Workflow factories directly (if on CMF 2) # Register our Workflow factories directly (if on CMF 2)
Products.ERP5Type.Workflow.registerAllWorkflowFactories(context) Products.ERP5Type.Workflow.registerAllWorkflowFactories(context)
......
...@@ -32,8 +32,8 @@ import inspect ...@@ -32,8 +32,8 @@ import inspect
from types import ModuleType from types import ModuleType
from dynamicmodule import newDynamicModule from dynamic_module import newDynamicModule
from lazyclass import newLazyClass from lazy_class import newLazyClass
from Products.ERP5Type.Globals import InitializeClass from Products.ERP5Type.Globals import InitializeClass
from Products.ERP5Type.Utils import setDefaultClassProperties from Products.ERP5Type.Utils import setDefaultClassProperties
......
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