Commit df5c6d6b authored by Arnaud Fontaine's avatar Arnaud Fontaine

Explicitely use relative import.

parent 86025d9d
...@@ -1043,7 +1043,7 @@ def initializeProduct( context, ...@@ -1043,7 +1043,7 @@ def initializeProduct( context,
import erp5.portal_type import erp5.portal_type
import erp5.component import erp5.component
except ImportError: except ImportError:
from dynamic.dynamic_module import initializeDynamicModules from .dynamic.dynamic_module import initializeDynamicModules
initializeDynamicModules() initializeDynamicModules()
import erp5.portal_type import erp5.portal_type
import erp5.component import erp5.component
......
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