Skip to content

Commit 2683561

Browse files
committed
fix the filtering for qe-verify
1 parent 18744e2 commit 2683561

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

bugz.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,12 @@ def bugzilla_qe_verify(self):
120120
# iterate over them
121121
if entry[2]:
122122
for sub_entry in entry[2]:
123-
row = {"bug_id": bug_id, "description": description,
124-
**sub_entry, "severity": severity,
125-
"priority": priority,
126-
"bug_status": status, "resolution": resolution}
127-
rows.append(row)
123+
if sub_entry['name'] == 'qe-verify' and sub_entry['status'] == '+': # noqa
124+
row = {"bug_id": bug_id, "description": description,
125+
**sub_entry, "severity": severity,
126+
"priority": priority,
127+
"bug_status": status, "resolution": resolution}
128+
rows.append(row)
128129
else:
129130
# If no sub-entry, just add the bug_id description
130131
row = {"bug_id": bug_id, "description": description,

0 commit comments

Comments
 (0)