ACI Module: Bug Fix for Python versions > 3.6.0 (#32660)
This commit is contained in:
parent
239464f804
commit
64f9ced750
1 changed files with 3 additions and 2 deletions
|
@ -716,9 +716,10 @@ class ACIModule(object):
|
||||||
if child_configs:
|
if child_configs:
|
||||||
children = []
|
children = []
|
||||||
for child in child_configs:
|
for child in child_configs:
|
||||||
|
child_copy = child.copy()
|
||||||
has_value = False
|
has_value = False
|
||||||
for root_key in child.keys():
|
for root_key in child_copy.keys():
|
||||||
for final_keys, values in child[root_key]['attributes'].items():
|
for final_keys, values in child_copy[root_key]['attributes'].items():
|
||||||
if values is None:
|
if values is None:
|
||||||
child[root_key]['attributes'].pop(final_keys)
|
child[root_key]['attributes'].pop(final_keys)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue