[Checkins] SVN: CMF/branches/1.5/C - CMFCore.interfaces.portal_workflow: Corrected the API given for

Jens Vagelpohl jens at dataflake.org
Sat Apr 8 08:43:05 EDT 2006


Log message for revision 66666:
  - CMFCore.interfaces.portal_workflow: Corrected the API given for
    WorkflowDefinition.isActionSupported.
    (http://www.zope.org/Collectors/CMF/407)
  

Changed:
  U   CMF/branches/1.5/CHANGES.txt
  U   CMF/branches/1.5/CMFCore/interfaces/portal_workflow.py

-=-
Modified: CMF/branches/1.5/CHANGES.txt
===================================================================
--- CMF/branches/1.5/CHANGES.txt	2006-04-08 12:31:31 UTC (rev 66665)
+++ CMF/branches/1.5/CHANGES.txt	2006-04-08 12:43:05 UTC (rev 66666)
@@ -2,6 +2,10 @@
 
   Bug Fixes
 
+    - CMFCore.interfaces.portal_workflow: Corrected the API given for
+      WorkflowDefinition.isActionSupported.
+      (http://www.zope.org/Collectors/CMF/407)
+
     - A re-used variable name led to rendering errors in some cases
       (http://www.zope.org/Collectors/CMF/411)
 

Modified: CMF/branches/1.5/CMFCore/interfaces/portal_workflow.py
===================================================================
--- CMF/branches/1.5/CMFCore/interfaces/portal_workflow.py	2006-04-08 12:31:31 UTC (rev 66665)
+++ CMF/branches/1.5/CMFCore/interfaces/portal_workflow.py	2006-04-08 12:43:05 UTC (rev 66666)
@@ -155,7 +155,7 @@
         '''
 
     # security.declarePrivate('isActionSupported')
-    def isActionSupported(ob, action):
+    def isActionSupported(ob, action, **kw):
         '''
         Invoked by the portal_workflow tool.
         Returns a true value if the given action name is supported.



More information about the Checkins mailing list