Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Commit

Permalink
Metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Navarro Bosch committed Jan 3, 2017
1 parent 11de155 commit 357d52a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plone.server/plone/server/metaconfigure.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ def rec_merge(d1, d2):
# this next check is the only difference!
if all(isinstance(e, MutableMapping) for e in (v, d2[k])):
d2[k] = rec_merge(v, d2[k])
if isinstance(v, list):
d2[k].extend(v)
# we could further check types and merge as appropriate here.
d3 = d1.copy()
d3.update(d2)
Expand Down

0 comments on commit 357d52a

Please sign in to comment.