Skip to content

Commit

Permalink
trivial: Fix one E713 test for membership
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsie committed Jul 20, 2023
1 parent ebf7cb6 commit eb5399d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fwhunt_scan_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def scan_firmware(image_path: str, rule: List[str], rules_dir: str) -> bool:
continue
for guid in [g.lower() for g in uefi_rule.volume_guids]:
lower_guid = guid.lower()
if not lower_guid in rules_guids:
if lower_guid not in rules_guids:
rules_guids[lower_guid] = list()
rules_guids[lower_guid].append(uefi_rule)

Expand Down

0 comments on commit eb5399d

Please sign in to comment.