[CMF-checkins] CVS: Products/CMFCore - WorkflowCore.py:1.15.2.1

Yvo Schubbe y.2004_ at wcm-solutions.de
Tue Aug 24 17:12:37 EDT 2004


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

Modified Files:
      Tag: CMF-1_5-branch
	WorkflowCore.py 
Log Message:
- removed WorkflowMethod wrappers
- marked WorkflowMethod deprecated on CMF-1_5-branch and removed it on the HEAD


=== Products/CMFCore/WorkflowCore.py 1.15 => 1.15.2.1 ===
--- Products/CMFCore/WorkflowCore.py:1.15	Thu Aug 12 11:07:39 2004
+++ Products/CMFCore/WorkflowCore.py	Tue Aug 24 17:12:07 2004
@@ -14,6 +14,9 @@
 
 $Id$
 """
+
+from warnings import warn
+
 from Acquisition import aq_base
 from MethodObject import Method
 
@@ -63,6 +66,9 @@
     _need__name__=1
 
     def __init__(self, method, id=None, reindex=1):
+        warn('WorkflowMethod() alias WorkflowAction() is deprecated and will '
+             'be removed in CMF 1.6.',
+             DeprecationWarning)
         self._m = method
         if id is None:
             id = method.__name__



More information about the CMF-checkins mailing list