[Zope3-checkins] CVS: Packages3/workflow - globalimportexport.py:1.2
Michael Howitz
mh+zope@gocept.com
Thu, 27 Mar 2003 05:56:28 -0500
Update of /cvs-repository/Packages3/workflow
In directory cvs.zope.org:/tmp/cvs-serv23575
Modified Files:
globalimportexport.py
Log Message:
xml-export of workflow-definition-data now works
=== Packages3/workflow/globalimportexport.py 1.1 => 1.2 ===
--- Packages3/workflow/globalimportexport.py:1.1 Wed Mar 26 12:43:36 2003
+++ Packages3/workflow/globalimportexport.py Thu Mar 27 05:55:58 2003
@@ -46,7 +46,7 @@
return imp.doImport(data)
raise ValueError, 'No Importer can handle that information'
- def exportProcessDefinition(self, process_definition):
+ def exportProcessDefinition(self, context, process_definition):
"""Export a Process Definition
"""
clean_pd = removeAllProxies(process_definition)
@@ -55,7 +55,7 @@
for interface in interfaces:
factory = self._exporters.get(interface)
if factory is not None:
- return factory().doExport(clean_pd)
+ return factory().doExport(context, clean_pd)
raise TypeError, "object doesn't implement IProcessDefinition"