[CMF-checkins] CVS: Products/CMFCore - WorkflowTool.py:1.46.2.5

Julien Anguenot ja at nuxeo.com
Tue Apr 26 12:03:37 EDT 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv22934

Modified Files:
      Tag: CMF-1_5-branch
	WorkflowTool.py 
Log Message:
doActionFor() propagates kwargs to isActionSupported()


=== Products/CMFCore/WorkflowTool.py 1.46.2.4 => 1.46.2.5 ===
--- Products/CMFCore/WorkflowTool.py:1.46.2.4	Wed Apr 13 03:23:29 2005
+++ Products/CMFCore/WorkflowTool.py	Tue Apr 26 12:03:36 2005
@@ -281,7 +281,7 @@
                 raise WorkflowException('No workflows found.')
             found = 0
             for wf in wfs:
-                if wf.isActionSupported(ob, action):
+                if wf.isActionSupported(ob, action, **kw):
                     found = 1
                     break
             if not found:



More information about the CMF-checkins mailing list