Commit 029bdcac authored by Tatuya Kamada's avatar Tatuya Kamada

CallableTool: Add UniqueObject as the inheritance since it is a Tool.

parent 06bcba88
...@@ -27,8 +27,9 @@ ...@@ -27,8 +27,9 @@
# #
############################################################################## ##############################################################################
from Products.ERP5Type.Core.Folder import Folder from Products.ERP5Type.Core.Folder import Folder
from Products.CMFCore.utils import UniqueObject
class CallableTool(Folder): class CallableTool(UniqueObject, Folder):
""" """
XXXXX XXXXX
...@@ -49,4 +50,4 @@ class CallableTool(Folder): ...@@ -49,4 +50,4 @@ class CallableTool(Folder):
_updateCacheEntry = getattr(portal_skins.aq_base, '_updateCacheEntry', None) _updateCacheEntry = getattr(portal_skins.aq_base, '_updateCacheEntry', None)
if _updateCacheEntry is None: if _updateCacheEntry is None:
return return
_updateCacheEntry(self.id, id) _updateCacheEntry(self.id, id)
\ No newline at end of file
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
<key> <string>text_content_warning_message</string> </key> <key> <string>text_content_warning_message</string> </key>
<value> <value>
<tuple> <tuple>
<string>W: 40, 23: Redefining built-in \'object\' (redefined-builtin)</string> <string>W: 41, 23: Redefining built-in \'object\' (redefined-builtin)</string>
<string>W: 40, 19: Redefining built-in \'id\' (redefined-builtin)</string> <string>W: 41, 19: Redefining built-in \'id\' (redefined-builtin)</string>
</tuple> </tuple>
</value> </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