ACI Module: Bug Fix for Python versions > 3.6.0 (#32660)

pull/25612/merge
Jacob McGill 7 years ago committed by Chris Alfonso
parent 239464f804
commit 64f9ced750

@ -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…
Cancel
Save