1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-27 07:06:13 +01:00

fixes broken osc results on project level

This commit is contained in:
marco 2017-10-18 15:17:56 +02:00
parent 760a3e5558
commit 3a5bd607f8

View File

@ -5725,9 +5725,9 @@ def get_prj_results(apiurl, prj, hide_legend=False, csv=False, status_filter=Non
pacs = sorted(list(set(pacs)))
for node in root.findall('result'):
# filter architecture and repository
if arch != None and node.get('arch') not in arch:
if arch and node.get('arch') not in arch:
continue
if repo != None and node.get('repository') not in repo:
if repo and node.get('repository') not in repo:
continue
if node.get('dirty') == "true":
state = "outdated"