Skip to content

Commit

Permalink
Merge branch 'fix_project_results' of https://github.com/lethliel/osc
Browse files Browse the repository at this point in the history
Fix for commit 2d327df ("Allow multiple --repo and --arch options in
\"osc prjresults\"").
  • Loading branch information
marcus-h committed Oct 18, 2017
2 parents 760a3e5 + 3a5bd60 commit a3c2aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a3c2aeb

Please sign in to comment.