Skip to content

Commit

Permalink
get_prj_results: skip non-status elements in prj results
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-schwab authored and dmach committed Oct 14, 2024
1 parent 4ccb00b commit 79bba89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4292,7 +4292,7 @@ def get_prj_results(
if root.find('result') is None:
return []
for results in root.findall('result'):
for node in results:
for node in results.findall('status'):
pacs.append(node.get('package'))
pacs = sorted(list(set(pacs)))
for node in root.findall('result'):
Expand Down

0 comments on commit 79bba89

Please sign in to comment.