Commit 8ad8c08e authored by wenjie.zheng's avatar wenjie.zheng

Base.py: clean up.

parent 122be9d0
...@@ -166,7 +166,7 @@ class WorkflowMethod(Method): ...@@ -166,7 +166,7 @@ class WorkflowMethod(Method):
# already better than what we had. I (JPS) would prefer to use # already better than what we had. I (JPS) would prefer to use
# critical sections in this part of the code and a # critical sections in this part of the code and a
# thread variable which tells in which semantic context the code # thread variable which tells in which semantic context the code
# should be executed. - XXX # should ne executed. - XXX
return self._m(instance, *args, **kw) return self._m(instance, *args, **kw)
# New implementation does not use any longer wrapWorkflowMethod # New implementation does not use any longer wrapWorkflowMethod
...@@ -3006,7 +3006,7 @@ class Base( CopyContainer, ...@@ -3006,7 +3006,7 @@ class Base( CopyContainer,
local_permission_list = (local_permission_list,) local_permission_list = (local_permission_list,)
setattr(self,permission_name,tuple(local_permission_list)) setattr(self,permission_name,tuple(local_permission_list))
# Content accessor methods ### Content accessor methods
security.declareProtected(Permissions.View, 'getSearchableText') security.declareProtected(Permissions.View, 'getSearchableText')
def getSearchableText(self, md=None): def getSearchableText(self, md=None):
""" """
......
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