Fix new code smell

This commit is contained in:
Akshay Joshi 2023-06-12 19:06:01 +05:30
parent 251bf05692
commit c90f831493

View File

@ -627,6 +627,7 @@ def directory_diff(source_dict, target_dict, ignore_keys=[], difference=None):
for index in range(len(source_dict[key])):
source = copy.deepcopy(source_dict[key][index])
if isinstance(source, list):
# This block is empty will figure out some scenario
pass
elif isinstance(source, dict):
# Check the above keys are exist in the dictionary