From 557a78f5313e53e4db1c0eb71b4173fa5022c709 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 23 Feb 2006 15:07:06 +0000
Subject: [PATCH] make the keyword argument created_by_builder explicit in
 order not to create local properties on newly created objects.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5803 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/ERP5Type.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Type/ERP5Type.py b/product/ERP5Type/ERP5Type.py
index 02f439e087..e65afdede0 100755
--- a/product/ERP5Type/ERP5Type.py
+++ b/product/ERP5Type/ERP5Type.py
@@ -169,7 +169,8 @@ class ERP5TypeInformation( FactoryTypeInformation, RoleProviderBase ):
     #   Agent methods
     #
     security.declarePublic('constructInstance')
-    def constructInstance( self, container, id, *args, **kw ):
+    def constructInstance( self, container, id,
+                           created_by_builder=0, *args, **kw ):
         """
         Build a "bare" instance of the appropriate type in
         'container', using 'id' as its id.
-- 
2.30.9