[Erp5-report] r28961 - /erp5/trunk/products/CMFActivity/ActiveProcess.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Sep 11 16:05:09 CEST 2009
Author: vincent
Date: Fri Sep 11 16:05:03 2009
New Revision: 28961
URL: http://svn.erp5.org?rev=28961&view=rev
Log:
Remove commented-out code.
Modified:
erp5/trunk/products/CMFActivity/ActiveProcess.py
Modified: erp5/trunk/products/CMFActivity/ActiveProcess.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/ActiveProcess.py?rev=28961&r1=28960&r2=28961&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/ActiveProcess.py [utf8] (original)
+++ erp5/trunk/products/CMFActivity/ActiveProcess.py [utf8] Fri Sep 11 16:05:03 2009
@@ -115,21 +115,10 @@
# 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):
More information about the Erp5-report
mailing list