Commit bb7855ca authored by Arnaud Fontaine's avatar Arnaud Fontaine

Rename component_class to component_package.

parent 89bdc92b
......@@ -84,10 +84,10 @@ class ComponentTool(BaseTool):
global last_sync
if force:
# hard invalidation to force sync between nodes
portal.newCacheCookie('component_classes')
last_sync = portal.getCacheCookie('component_classes')
portal.newCacheCookie('component_packages')
last_sync = portal.getCacheCookie('component_packages')
else:
cookie = portal.getCacheCookie('component_classes')
cookie = portal.getCacheCookie('component_packages')
if cookie == last_sync:
type_tool.resetDynamicDocumentsOnceAtTransactionBoundary()
return
......
......@@ -125,7 +125,7 @@ def initializeDynamicModules():
erp5.component = ModuleType("erp5.component")
sys.modules["erp5.component"] = erp5.component
from component_class import ComponentDynamicPackage
from component_package import ComponentDynamicPackage
erp5.component.extension = ComponentDynamicPackage('erp5.component.extension',
'Extension 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