[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/workflow - __init__.py:1.10

Ulrich Eck ueck@net-labs.de
Wed, 26 Mar 2003 11:58:31 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/workflow
In directory cvs.zope.org:/tmp/cvs-serv6884

Modified Files:
	__init__.py 
Log Message:
give Import/Export Handler some context to be able to lookup ServiceManager/...


=== Zope3/src/zope/app/interfaces/workflow/__init__.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/interfaces/workflow/__init__.py:1.9	Wed Mar 26 11:35:26 2003
+++ Zope3/src/zope/app/interfaces/workflow/__init__.py	Wed Mar 26 11:58:30 2003
@@ -188,7 +188,7 @@
            based on the data given.
         """
 
-    def doImport(data):
+    def doImport(context, data):
         """create a ProcessDefinition from the data given.
 
         returns a ProcessDefinition Instance.
@@ -198,7 +198,7 @@
     """Handler for Export of ProcessDefinitions.
     """
 
-    def doExport(process_definition):
+    def doExport(context, process_definition):
         """export a ProcessDefinition into a specific format.
 
         returns the serialized value of the given ProcessDefintion.