1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-19 08:42:11 +01:00

Merge pull request #1642 from andreas-schwab/master

get_prj_results: skip non-status elements in prj results
This commit is contained in:
Daniel Mach 2024-11-05 14:22:32 +01:00 committed by GitHub
commit e28c4fde41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'):