We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a723d16 + 34cad8a commit c07fdedCopy full SHA for c07fded
SoftLayer/utils.py
@@ -68,7 +68,7 @@ def dict_merge(dct1, dct2):
68
69
dct = dct1.copy()
70
for k, _ in dct2.items():
71
- if (k in dct1 and isinstance(dct1[k], dict) and isinstance(dct2[k], collections.Mapping)):
+ if (k in dct1 and isinstance(dct1[k], dict) and isinstance(dct2[k], collections.abc.Mapping)):
72
dct[k] = dict_merge(dct1[k], dct2[k])
73
else:
74
dct[k] = dct2[k]
0 commit comments