From 8d19e92e4d8056278adf8b2fff6da77bc563de4a Mon Sep 17 00:00:00 2001 From: Alberto Planas Date: Tue, 8 Jul 2014 16:17:11 +0200 Subject: [PATCH] Remove passed openQA results. Fix tests. --- osclib/check_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osclib/check_command.py b/osclib/check_command.py index 52c9e526..e6ecf5a0 100644 --- a/osclib/check_command.py +++ b/osclib/check_command.py @@ -74,8 +74,8 @@ class CheckCommand(object): # openQA results if not project['openqa_jobs']: report.append(' - No openQA result yet') - for job in project['openqa_jobs']: - report.append(" - openQA's overall status is %s for https://openqa.opensuse.org/tests/%s" % (job['result'], job['id'])) + report.extend(" - openQA's overall status is %s for https://openqa.opensuse.org/tests/%s" % (job['result'], job['id']) + for job in project['openqa_jobs'] if job['result'] != 'passed') # XXX TODO - report the failling modules if report: