mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #34741 from rallytime/bp-34726
Back-port #34726 to 2015.8
This commit is contained in:
commit
81f29006f2
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue