From 50f3bbcdbf63d3b946daf4c9045fae983ad870a6 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 14 May 2004 19:08:06 +0000 Subject: [PATCH] Pass toxml correctly. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@880 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/TemplateTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py index 4637119a06..11f13f79cc 100755 --- a/product/ERP5/Tool/TemplateTool.py +++ b/product/ERP5/Tool/TemplateTool.py @@ -137,7 +137,7 @@ class TemplateTool (BaseTool): Save in a format or another """ business_template.build() - self.manage_exportObject(id=business_template.getId()) + self.manage_exportObject(id=business_template.getId(), toxml=toxml) suffix = toxml and 'xml' or 'zexp' cfg = getConfiguration() f = os.path.join(cfg.clienthome, '%s.%s' % (business_template.getId(), suffix)) -- 2.30.9