[Erp5-report] r39192 jm - /erp5/trunk/products/ERP5Type/patches/WorkflowTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 14 19:15:12 CEST 2010


Author: jm
Date: Thu Oct 14 19:15:09 2010
New Revision: 39192

URL: http://svn.erp5.org?rev=39192&view=rev
Log:
Revert r39158

Modified:
    erp5/trunk/products/ERP5Type/patches/WorkflowTool.py

Modified: erp5/trunk/products/ERP5Type/patches/WorkflowTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/WorkflowTool.py?rev=39192&r1=39191&r2=39192&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/WorkflowTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/patches/WorkflowTool.py [utf8] Thu Oct 14 19:15:09 2010
@@ -830,6 +830,7 @@ class WorkflowMethod( Method ):
 
         """ Invoke the wrapped method, and deal with the results.
         """
+        instance.pdb()
         wf = getToolByName(instance, 'portal_workflow', None)
         if wf is None or not hasattr(wf, 'wrapWorkflowMethod'):
             # No workflow tool found.
@@ -849,4 +850,5 @@ try:
 except ImportError:
   from Products.CMFCore import WorkflowCore
   # We're on CMF 2, where WorkflowMethod has been removed from CMFCore
-  #WorkflowCore.WorkflowMethod = WorkflowCore.WorkflowAction = WorkflowMethod
+  #WorkflowCore.WorkflowMethod = WorkflowMethod
+  WorkflowCore.WorkflowAction = WorkflowMethod




More information about the Erp5-report mailing list