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

Jens Vagelpohl jens at dataflake.org
Sat Apr 8 08:56:58 EDT 2006


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

Changed:
  U   CMF/branches/1.6/CHANGES.txt
  U   CMF/branches/1.6/CMFCore/interfaces/_tools.py

-=-
Modified: CMF/branches/1.6/CHANGES.txt
===================================================================
--- CMF/branches/1.6/CHANGES.txt	2006-04-08 12:55:02 UTC (rev 66668)
+++ CMF/branches/1.6/CHANGES.txt	2006-04-08 12:56:57 UTC (rev 66669)
@@ -2,6 +2,10 @@
 
   Bug Fixes
 
+    - CMFCore.interfaces._tools: Corrected the API given for 
+      WorkflowDefinition.isActionSupported.
+      (http://www.zope.org/Collectors/CMF/407)
+
     - IndexableObjectWrapper: Fixed list of provided interfaces.
       The interfaces declared for the wrapped object are no longer masked.
 

Modified: CMF/branches/1.6/CMFCore/interfaces/_tools.py
===================================================================
--- CMF/branches/1.6/CMFCore/interfaces/_tools.py	2006-04-08 12:55:02 UTC (rev 66668)
+++ CMF/branches/1.6/CMFCore/interfaces/_tools.py	2006-04-08 12:56:57 UTC (rev 66669)
@@ -1710,7 +1710,7 @@
         o Permission:  Private (Python only)
         """
 
-    def isActionSupported(ob, action):
+    def isActionSupported(ob, action, **kw):
         """ Return True if the given workflow action is supported by this
             workfow for a content object, else False.
 



More information about the Checkins mailing list