[Erp5-report] r28966 - /erp5/trunk/products/CMFActivity/ActiveProcess.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Sep 11 16:11:59 CEST 2009


Author: vincent
Date: Fri Sep 11 16:11:58 2009
New Revision: 28966

URL: http://svn.erp5.org?rev=28966&view=rev
Log:
Wordwrap at 80 char.

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=28966&r1=28965&r2=28966&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/ActiveProcess.py [utf8] (original)
+++ erp5/trunk/products/CMFActivity/ActiveProcess.py [utf8] Fri Sep 11 16:11:58 2009
@@ -33,7 +33,8 @@
 from Products.ERP5Type import PropertySheet
 from BTrees.IOBTree import IOBTree
 from BTrees.Length import Length
-from Products.CMFActivity.ActiveObject import INVOKE_ERROR_STATE, VALIDATE_ERROR_STATE
+from Products.CMFActivity.ActiveObject import INVOKE_ERROR_STATE, \
+  VALIDATE_ERROR_STATE
 from random import randint
 
 manage_addActiveProcessForm = DTMLFile('dtml/ActiveProcess_add', globals())
@@ -55,7 +56,8 @@
 
 class ActiveProcess(Base):
   """
-      ActiveProcess is used to centralise interaction between multiple ActiveObject
+      ActiveProcess is used to centralise interaction between multiple
+      ActiveObject
       RENAME: ActiveResult
   """
 
@@ -122,12 +124,14 @@
   security.declareProtected( CMFCorePermissions.View, 'hasActivity' )
   def hasActivity(self, **kw):
     """
-      Tells if there is still some activities not finished attached to this process
+      Tells if there is still some activities not finished attached to this
+      process
     """
     activity_tool = getattr(self, 'portal_activities', None)
     if activity_tool is None:
       return 0 # Do nothing if no portal_activities
-    return activity_tool.hasActivity(None, active_process_uid = self.getUid(), **kw)
+    return activity_tool.hasActivity(None, active_process_uid = self.getUid(),
+      **kw)
 
   security.declareProtected( CMFCorePermissions.View, 'hasErrorActivity' )
   def hasErrorActivity(self, **kw):




More information about the Erp5-report mailing list