[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Workflow - WorkflowService.py:1.2.24.8

Grégoire Weber zope@i-con.ch
Thu, 5 Dec 2002 05:43:27 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Workflow
In directory cvs.zope.org:/tmp/cvs-serv17335

Modified Files:
      Tag: sprintathon-wf-branch
	WorkflowService.py 
Log Message:
added wrapping contentMethod for createProcessInstance


=== Zope3/lib/python/Zope/App/Workflow/WorkflowService.py 1.2.24.7 => 1.2.24.8 ===
--- Zope3/lib/python/Zope/App/Workflow/WorkflowService.py:1.2.24.7	Wed Dec  4 12:15:19 2002
+++ Zope3/lib/python/Zope/App/Workflow/WorkflowService.py	Thu Dec  5 05:43:24 2002
@@ -13,6 +13,9 @@
 ##############################################################################
 
 """Workflow service implementation.
+
+Revision information:
+$Id$
 """
 
 
@@ -58,6 +61,7 @@
         definition = self.getProcessDefinition(definition_name)
         return definition.createProcessInstance()
 
+    createProcessInstance = ContextMethod(createProcessInstance)
 
 
     def queryConfigurations(self, definition_name, default=None):