Skip to content

Commit d5bf713

Browse files
committed
[component ] Skip bugs that are not available for BugBug
1 parent c237612 commit d5bf713

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bugbot/rules/component.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ def meets_threshold(bug_data):
104104

105105
fenix_general_bug_ids = []
106106
for bug_id, bug_data in bugs.items():
107+
if not bug_data.get("available", True):
108+
# The bug was not available, it was either removed or is a
109+
# security bug.
110+
continue
107111
if meets_threshold(bug_data):
108112
if bug_data.get("class") == "Fenix":
109113
fenix_general_bug_ids.append(bug_id)

0 commit comments

Comments
 (0)