Skip to content

Commit

Permalink
Fix TypeError in get_implemented_stigs
Browse files Browse the repository at this point in the history
  • Loading branch information
svet-se committed Feb 16, 2024
1 parent 5a900d5 commit cf5f79c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions utils/build_stig_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,7 @@ def get_implemented_stigs(args):

if args.reference in rule_obj['references'].keys():
refs = rule_obj['references'][args.reference]
if ',' in refs:
refs = refs.split(',')
else:
refs = [refs]

for ref in refs:
if ref in known_rules:
known_rules[ref].append(rule['id'])
Expand Down

0 comments on commit cf5f79c

Please sign in to comment.