mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
Misc Utils: Fixed 'merge_dicts_simple'
Previously this function was ignoring the `other` parameter and therefore not actually merging the two dictionaries.
This commit is contained in:
parent
fc45b94b4e
commit
519389859e
@ -575,7 +575,7 @@ def merge_maps(m1, m2):
|
||||
|
||||
def merge_dicts_simple(base, other):
|
||||
result = base.copy()
|
||||
for key, value in (base or {}).iteritems():
|
||||
for key, value in (other or {}).iteritems():
|
||||
result[key] = merge_config_values(result.get(key), value)
|
||||
return result
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user