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

Julien Anguenot ja at nuxeo.com
Tue Apr 26 11:39:48 EDT 2005


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

Modified Files:
	WorkflowTool.py 
Log Message:
doActionFor() propagates kwargs to isActionSupported()


=== Products/CMFCore/WorkflowTool.py 1.52 => 1.53 ===
--- Products/CMFCore/WorkflowTool.py:1.52	Wed Apr 13 03:24:26 2005
+++ Products/CMFCore/WorkflowTool.py	Tue Apr 26 11:39:48 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