Commit 13908ec0 authored by Arnaud Fontaine's avatar Arnaud Fontaine

No need to set __module__ for erp5.component.extension.XXX as it's already done by DynamicModule.

parent 367357b7
......@@ -48,7 +48,6 @@ def generateComponentClassWrapper(namespace):
new_module = ModuleType(component_name,
component.getDescription())
new_module.__module__ = component_id
component.load(new_module.__dict__)
LOG("ERP5Type.dynamic", INFO, "Loaded successfully %s" % component_id)
return new_module
......
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