From 37ae4d1b58addc66d1cd446ecd08b729b286a56b Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Sun, 4 May 2014 19:57:30 +0300 Subject: [PATCH] repa info: Fix build status reporting When repa shows build failures it should not show packages in 'building' and 'blocked' statuses. Change-Id: I1ad2af336c9499105d869104e45d83afcbc8e903 Signed-off-by: Ed Bartosh --- repa/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repa/info.py b/repa/info.py index 267d8e3..011078d 100755 --- a/repa/info.py +++ b/repa/info.py @@ -91,7 +91,7 @@ def info(obs, name, target): result = defaultdict(list) for (repo, arch), target in build_results.iteritems(): for pkg, status in target['packages']: - if status != 'succeeded': + if status not in ('succeeded', 'building', 'blocked'): result[(repo, arch)].append((pkg, status)) if result: print -- 2.7.4