Skip to content

Commit 3e7e3cf

Browse files
robindittmargreenbonebot
authored andcommitted
removed unnecessary if-clause
1 parent 72f472a commit 3e7e3cf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/cfg-gen-for-certs.gmp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ def create_scan_config(gmp, cert_bund_name):
8282

8383
# Collect list of whole-only families
8484
if family in WHOLE_ONLY_FAMILIES:
85-
if family not in whole_families:
86-
whole_families.add(family)
85+
whole_families.add(family)
8786
# Create key value map
8887
elif family in nvt_dict and oid not in nvt_dict[family]:
8988
nvt_dict[family].append(oid)

0 commit comments

Comments
 (0)