From 652637bca241a77fc4ec2d5d062bfb64e07512b2 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Fri, 11 Sep 2009 14:05:03 +0000 Subject: [PATCH] Remove commented-out code. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28961 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFActivity/ActiveProcess.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/product/CMFActivity/ActiveProcess.py b/product/CMFActivity/ActiveProcess.py index 9c7e2b3d97..dbd11aea10 100644 --- a/product/CMFActivity/ActiveProcess.py +++ b/product/CMFActivity/ActiveProcess.py @@ -115,21 +115,10 @@ class ActiveProcess(Base): # Improve this to include sort order XXX return self.result_list.values() -# security.declareProtected(CMFCorePermissions.ManagePortal, 'getErrorListText') -# def getResultListText(self): -# """ -# Returns the list of errors as text -# """ -# return '\n'.join(map(lambda x:repr(x), self.error_list)) -# security.declareProtected(CMFCorePermissions.ManagePortal, 'activateResult') def activateResult(self, result): if result not in (None, 0, '', (), []): - #self.activate().postError(result) self.postResult(result) # Until we get SQLQueue - # If result is a callable, then use it to propagate result (... ??? ) - #if callable(result): - # return self.activateResult(Result(self, 'activateResult',result()) security.declareProtected( CMFCorePermissions.View, 'hasActivity' ) def hasActivity(self, **kw): -- 2.30.9