From 4419654f10e6ced06830600148d0d4dfef44aa61 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Mon, 3 Sep 2007 14:59:26 +0000 Subject: [PATCH] do not overload full dict when key not found git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16023 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 42cd9cf417..9d4fd30024 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -2216,7 +2216,7 @@ class Base( CopyContainer, if property_dict.get(k, None) is not None: property_dict[k].update(user_dict[k]) else: - property_dict.update(user_dict) + property_dict[k] = user_dict[k] return property_dict -- 2.30.9