Commit 0e411b59 authored by Ivan Tyagov's avatar Ivan Tyagov

Pylint warning fix.

parent d08e300e
......@@ -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
......@@ -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>
......
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