mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed code smells having rule 'Nested blocks of code should not be left empty'.
This commit is contained in:
committed by
Akshay Joshi
parent
707ff450b5
commit
c7a16a4bd5
@@ -345,7 +345,7 @@ def directory_diff(source_dict, target_dict, ignore_keys=[], difference={}):
|
||||
|
||||
# ignore the keys if available.
|
||||
if key in ignore_keys:
|
||||
pass
|
||||
continue
|
||||
elif key in tar_only:
|
||||
if type(target_dict[key]) is list:
|
||||
difference[key] = {}
|
||||
|
||||
Reference in New Issue
Block a user