mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-15 18:16:13 +01:00
Merge branch 'fix_project_results' of https://github.com/lethliel/osc
Fix for commit 2d327df
("Allow multiple --repo and --arch options in
\"osc prjresults\"").
This commit is contained in:
commit
a3c2aeb64c
@ -5725,9 +5725,9 @@ def get_prj_results(apiurl, prj, hide_legend=False, csv=False, status_filter=Non
|
|||||||
pacs = sorted(list(set(pacs)))
|
pacs = sorted(list(set(pacs)))
|
||||||
for node in root.findall('result'):
|
for node in root.findall('result'):
|
||||||
# filter architecture and repository
|
# filter architecture and repository
|
||||||
if arch != None and node.get('arch') not in arch:
|
if arch and node.get('arch') not in arch:
|
||||||
continue
|
continue
|
||||||
if repo != None and node.get('repository') not in repo:
|
if repo and node.get('repository') not in repo:
|
||||||
continue
|
continue
|
||||||
if node.get('dirty') == "true":
|
if node.get('dirty') == "true":
|
||||||
state = "outdated"
|
state = "outdated"
|
||||||
|
Loading…
Reference in New Issue
Block a user