Commit 4419654f authored by Nicolas Delaby's avatar Nicolas Delaby

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
parent f3a38497
...@@ -2216,7 +2216,7 @@ class Base( CopyContainer, ...@@ -2216,7 +2216,7 @@ class Base( CopyContainer,
if property_dict.get(k, None) is not None: if property_dict.get(k, None) is not None:
property_dict[k].update(user_dict[k]) property_dict[k].update(user_dict[k])
else: else:
property_dict.update(user_dict) property_dict[k] = user_dict[k]
return property_dict return property_dict
......
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