From 89997d21fa6f614b9c6f648b0d3009a9639fb91b Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Thu, 3 Jun 2010 15:03:04 +0000 Subject: [PATCH] revert a part of r35960, because setId is called at most once. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35964 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 8260e75baa..5c8c559bb0 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -1648,7 +1648,6 @@ class Base( CopyContainer, getProperty = self.getProperty hasProperty = self.hasProperty _setProperty = self._setProperty - setId = self.setId def setChangedPropertyList(key_list): not_modified_list = [] @@ -1687,7 +1686,7 @@ class Base( CopyContainer, # objects themselves cannot be used as keys. modified_object_dict[id(o)] = o else: - setId(kw['id'], reindex=reindex_object) + self.setId(kw['id'], reindex=reindex_object) else: not_modified_list.append(key) return not_modified_list -- 2.30.9