Commit c8dcb9bd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

typo, sorry.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39562 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d9c5858f
...@@ -318,7 +318,7 @@ class ERP5TypeInformation(XMLObject, ...@@ -318,7 +318,7 @@ class ERP5TypeInformation(XMLObject,
""" """
# you should not pass temp_object to constructTempInstance # you should not pass temp_object to constructTempInstance
original_container = container.getOriginalDocument() original_container = container.getOriginalDocument()
if original_container is None if original_container is None:
ob = self.constructInstance(container, id, temp_object=1, *args, **kw) ob = self.constructInstance(container, id, temp_object=1, *args, **kw)
container._setObject(id, ob.aq_base) container._setObject(id, ob.aq_base)
else: else:
......
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