Minor fix BC Old Start (DeepMergeDict2to1 FIXES)

dev-linux
Ivan Maslov 4 years ago
parent f9c2349d67
commit 8487d6e485

@ -33,7 +33,7 @@ def __ComplexDictMerge2to1__(in1Dict, in2Dict):
for lKeyStr in in2Dict:
if lKeyStr in in1Dict:
if isinstance(in1Dict[lKeyStr], dict) and isinstance(in2Dict[lKeyStr], dict):
__ComplexDictMerge2to1__(in1Dict[lKeyStr], in2Dict[lKeyStr], lPathList + [str(lKeyStr)])
__ComplexDictMerge2to1__(in1Dict[lKeyStr], in2Dict[lKeyStr])
elif in1Dict[lKeyStr] == in2Dict[lKeyStr]:
pass # same leaf value
else:

Loading…
Cancel
Save