mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
if key not in dest, don't recurse
This commit is contained in:
parent
d8a84b3017
commit
8599143200
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def update(dest, upd):
|
|||
valtype = OrderedDict
|
||||
else:
|
||||
valtype = dict
|
||||
dest_subkey = dest.get(key, valtype())
|
||||
dest_subkey = dest.get(key, None)
|
||||
except AttributeError:
|
||||
dest_subkey = None
|
||||
if isinstance(dest_subkey, collections.Mapping) \
|
||||
|
|
Loading…
Add table
Reference in a new issue