Commit 557a78f5 authored by Jérome Perrin's avatar Jérome Perrin

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
parent 3c9cf748
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment