From 8ad8c08ee10ce792649bcf53bac15a20d028e5f8 Mon Sep 17 00:00:00 2001 From: Wenjie Zheng <wenjie.zheng@tiolive.com> Date: Fri, 17 Jul 2015 08:01:00 +0000 Subject: [PATCH] Base.py: clean up. --- product/ERP5Type/Base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 05f320353d..aa23947cf9 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -166,7 +166,7 @@ class WorkflowMethod(Method): # already better than what we had. I (JPS) would prefer to use # critical sections in this part of the code and a # thread variable which tells in which semantic context the code - # should be executed. - XXX + # should ne executed. - XXX return self._m(instance, *args, **kw) # New implementation does not use any longer wrapWorkflowMethod @@ -3006,7 +3006,7 @@ class Base( CopyContainer, local_permission_list = (local_permission_list,) setattr(self,permission_name,tuple(local_permission_list)) - # Content accessor methods + ### Content accessor methods security.declareProtected(Permissions.View, 'getSearchableText') def getSearchableText(self, md=None): """ -- 2.30.9