Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Eteri
erp5
Commits
0e411b59
Commit
0e411b59
authored
Sep 05, 2017
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pylint warning fix.
parent
d08e300e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.py
...plateItem/portal_components/document.erp5.CallableTool.py
+3
-3
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.xml
...lateItem/portal_components/document.erp5.CallableTool.xml
+1
-4
No files found.
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.py
View file @
0e411b59
...
...
@@ -39,11 +39,11 @@ class CallableTool(UniqueObject, Folder):
meta_type
=
'ERP5 Callable Tool'
portal_type
=
'Callable Tool'
def
_setOb
(
self
,
id
,
object
):
def
_setOb
(
self
,
object_id
,
obj
):
"""
Update portal_skins cache with the new files.
"""
Folder
.
_setOb
(
self
,
id
,
object
)
Folder
.
_setOb
(
self
,
object_id
,
obj
)
portal_skins
=
getattr
(
self
,
'portal_skins'
,
None
)
if
portal_skins
is
None
:
return
...
...
@@ -51,4 +51,4 @@ class CallableTool(UniqueObject, Folder):
_updateCacheEntry
=
getattr
(
portal_skins
.
aq_base
,
'_updateCacheEntry'
,
None
)
if
_updateCacheEntry
is
None
:
return
_updateCacheEntry
(
self
.
id
,
id
)
\ No newline at end of file
_updateCacheEntry
(
self
.
id
,
object_id
)
\ No newline at end of file
product/ERP5/bootstrap/erp5_core/DocumentTemplateItem/portal_components/document.erp5.CallableTool.xml
View file @
0e411b59
...
...
@@ -43,10 +43,7 @@
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple>
<string>
W: 42, 23: Redefining built-in \'object\' (redefined-builtin)
</string>
<string>
W: 42, 19: Redefining built-in \'id\' (redefined-builtin)
</string>
</tuple>
<tuple/>
</value>
</item>
<item>
...
...
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