mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #34741 from rallytime/bp-34726
Back-port #34726 to 2015.8
This commit is contained in:
commit
81f29006f2
@ -58,7 +58,8 @@ def update(dest, upd, recursive_update=True, merge_lists=False):
|
||||
return dest
|
||||
else:
|
||||
try:
|
||||
dest.update(upd)
|
||||
for k in upd.keys():
|
||||
dest[k] = upd[k]
|
||||
except AttributeError:
|
||||
# this mapping is not a dict
|
||||
for k in upd:
|
||||
|
Loading…
Reference in New Issue
Block a user