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

Tres Seaver tseaver at palladion.com
Tue Jul 5 23:28:22 EDT 2005


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

Modified Files:
      Tag: CMF-1_5-branch
	WorkflowTool.py 
Log Message:


  - Add test and fix for deprecated 'getActionsFor' API, to resolve
    AttributeError due so similarly-deprecated WorkflowInformation
    (Collector #360).


=== Products/CMFCore/WorkflowTool.py 1.46.2.8 => 1.46.2.9 ===
--- Products/CMFCore/WorkflowTool.py:1.46.2.8	Wed Jun 22 09:44:26 2005
+++ Products/CMFCore/WorkflowTool.py	Tue Jul  5 23:27:51 2005
@@ -47,7 +47,7 @@
         warn('WorkflowInformation() is deprecated and will be removed in '
              'CMF 1.7.',
              DeprecationWarning)
-        self.content = object
+        self.object = self.content = object
         self.content_url = object.absolute_url()
         self.portal_url = self.folder_url = ''
 



More information about the CMF-checkins mailing list