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

Tres Seaver tseaver@zope.com
Mon, 8 Jul 2002 09:59:24 -0400


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

Modified Files:
      Tag: CMF-1_3-branch
	portal_workflow.py 
Log Message:
 - Appease 2.5-head's zealous interface checker.

=== CMF/CMFCore/interfaces/portal_workflow.py 1.8 => 1.8.6.1 ===
 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