Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
bb7855ca
Commit
bb7855ca
authored
Feb 28, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename component_class to component_package.
parent
89bdc92b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
product/ERP5Type/Tool/ComponentTool.py
product/ERP5Type/Tool/ComponentTool.py
+3
-3
product/ERP5Type/dynamic/component_package.py
product/ERP5Type/dynamic/component_package.py
+0
-0
product/ERP5Type/dynamic/dynamic_module.py
product/ERP5Type/dynamic/dynamic_module.py
+1
-1
No files found.
product/ERP5Type/Tool/ComponentTool.py
View file @
bb7855ca
...
...
@@ -84,10 +84,10 @@ class ComponentTool(BaseTool):
global
last_sync
if
force
:
# hard invalidation to force sync between nodes
portal
.
newCacheCookie
(
'component_
class
es'
)
last_sync
=
portal
.
getCacheCookie
(
'component_
class
es'
)
portal
.
newCacheCookie
(
'component_
packag
es'
)
last_sync
=
portal
.
getCacheCookie
(
'component_
packag
es'
)
else
:
cookie
=
portal
.
getCacheCookie
(
'component_
class
es'
)
cookie
=
portal
.
getCacheCookie
(
'component_
packag
es'
)
if
cookie
==
last_sync
:
type_tool
.
resetDynamicDocumentsOnceAtTransactionBoundary
()
return
...
...
product/ERP5Type/dynamic/component_
class
.py
→
product/ERP5Type/dynamic/component_
package
.py
View file @
bb7855ca
File moved
product/ERP5Type/dynamic/dynamic_module.py
View file @
bb7855ca
...
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment