From b5847eff77901a7960b17671ba7ae23b21d42fc8 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Wed, 23 Feb 2005 12:48:33 +0000 Subject: [PATCH] Last commit was a mistake. reverted to 2.47 git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2544 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BusinessTemplate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 6444664aa7..5ee65dd754 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -659,7 +659,7 @@ class DocumentTemplateItem(BaseTemplateItem): def install(self, context, **kw): BaseTemplateItem.install(self, context, **kw) for id,text in self._archive.items(): - writeLocalDocument(id, text, create=0) # This raises an exception if the file exists. + writeLocalDocument(id, text, create=1) # This raises an exception if the file exists. importLocalDocument(id) def uninstall(self, context, **kw): @@ -681,7 +681,7 @@ class PropertySheetTemplateItem(BaseTemplateItem): def install(self, context, **kw): BaseTemplateItem.install(self, context, **kw) for id,text in self._archive.items(): - writeLocalPropertySheet(id, text, create=0) # This raises an exception if the file exists. + writeLocalPropertySheet(id, text, create=1) # This raises an exception if the file exists. importLocalPropertySheet(id) def uninstall(self, context, **kw): @@ -703,7 +703,7 @@ class ExtensionTemplateItem(BaseTemplateItem): def install(self, context, **kw): BaseTemplateItem.install(self, context, **kw) for id,text in self._archive.items(): - writeLocalExtension(id, text, create=0) # This raises an exception if the file exists. + writeLocalExtension(id, text, create=1) # This raises an exception if the file exists. importLocalPropertySheet(id) def uninstall(self, context, **kw): @@ -724,7 +724,7 @@ class TestTemplateItem(BaseTemplateItem): def install(self, context, **kw): BaseTemplateItem.install(self, context, **kw) for id,text in self._archive.items(): - writeLocalTest(id, text, create=0) # This raises an exception if the file exists. + writeLocalTest(id, text, create=1) # This raises an exception if the file exists. def uninstall(self, context, **kw): for id in self._archive.keys(): -- 2.30.9