From 3a5bd607f8bf2f33f5024c9a913f7c8edca2517c Mon Sep 17 00:00:00 2001 From: marco Date: Wed, 18 Oct 2017 15:17:56 +0200 Subject: [PATCH] fixes broken osc results on project level --- osc/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index b7e8928002..af4eadc59e 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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"