Skip to content

Commit

Permalink
Fix the last redundant execution of string lowering in `bug_to_types(…
Browse files Browse the repository at this point in the history
…)` (#3850)
  • Loading branch information
sreeroo authored Nov 24, 2023
1 parent 7d85140 commit fe11700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bugbug/models/bugtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def bug_to_types(
types.add("performance")

if any(
f"[{whiteboard_text}" in bug["whiteboard"].lower()
f"[{whiteboard_text}" in bug_whiteboard
for whiteboard_text in ("client-bounty-form", "sec-survey")
):
types.add("security")
Expand Down

0 comments on commit fe11700

Please sign in to comment.