diff options
author | Ed Bartosh <eduard.bartosh@intel.com> | 2014-05-04 19:57:30 +0300 |
---|---|---|
committer | Ed Bartosh <eduard.bartosh@intel.com> | 2014-05-09 22:34:37 +0300 |
commit | 37ae4d1b58addc66d1cd446ecd08b729b286a56b (patch) | |
tree | 4e7eac7250d94ab68918d83d718bb4881c1dea1f | |
parent | 8336aefbaf74f5350079df149b05b257f3936f25 (diff) | |
download | repa-37ae4d1b58addc66d1cd446ecd08b729b286a56b.tar.gz repa-37ae4d1b58addc66d1cd446ecd08b729b286a56b.tar.bz2 repa-37ae4d1b58addc66d1cd446ecd08b729b286a56b.zip |
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 <eduard.bartosh@intel.com>
-rwxr-xr-x | repa/info.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |