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:
_______________________________________________
CMF-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins