Skip to content

Commit

Permalink
fix the filtering for qe-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelrios committed Oct 3, 2024
1 parent 18744e2 commit 2683561
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bugz.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,12 @@ def bugzilla_qe_verify(self):
# iterate over them
if entry[2]:
for sub_entry in entry[2]:
row = {"bug_id": bug_id, "description": description,
**sub_entry, "severity": severity,
"priority": priority,
"bug_status": status, "resolution": resolution}
rows.append(row)
if sub_entry['name'] == 'qe-verify' and sub_entry['status'] == '+': # noqa
row = {"bug_id": bug_id, "description": description,
**sub_entry, "severity": severity,
"priority": priority,
"bug_status": status, "resolution": resolution}
rows.append(row)
else:
# If no sub-entry, just add the bug_id description
row = {"bug_id": bug_id, "description": description,
Expand Down

0 comments on commit 2683561

Please sign in to comment.