[CMF-checkins] CVS: CMF/CMFCore/interfaces - portal_workflow.py:1.9

Tres Seaver tseaver@zope.com
Mon, 8 Jul 2002 10:00:14 -0400


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv24847/CMFCore/interfaces

Modified Files:
	portal_workflow.py 
Log Message:
 - Merge interface dead chicken from 1.3 branch.

=== CMF/CMFCore/interfaces/portal_workflow.py 1.8 => 1.9 ===
 from Interface import Attribute, Base
 
+_marker = []
+
 class portal_workflow(Base):
     '''This tool accesses and changes the workflow state of content.
     '''
@@ -60,7 +62,7 @@
         '''
 
     # security.declarePublic('getInfoFor')
-    def getInfoFor(ob, name, default, wf_id=None, *args, **kw):
+    def getInfoFor(ob, name, default=_marker, wf_id=None, *args, **kw):
         '''
         Invoked by user interface code.  Allows the user to request
         information provided by the workflow.  The workflow object