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:
commit
e28c4fde41
@ -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'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user