summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Bartosh <eduard.bartosh@intel.com>2014-06-12 14:30:30 +0300
committerEduard Bartosh <eduard.bartosh@intel.com>2014-06-13 22:28:01 +0300
commiteebc0561fb78a6277996c749f91861406398f5ab (patch)
tree8a9554763397b6c4225282b08166676bb2576eff
parent3c239c0daf24413abb70bd7b1ad02c28938faf70 (diff)
downloadrepa-eebc0561fb78a6277996c749f91861406398f5ab.tar.gz
repa-eebc0561fb78a6277996c749f91861406398f5ab.tar.bz2
repa-eebc0561fb78a6277996c749f91861406398f5ab.zip
info: Excluded 'disabled' build statut from the list
With a lot of packages in 'disabled' state repa info produced a very long output, which makes it too hard to understand and analyze. Excluding it should make an output more useful. Change-Id: I0b2d4999cd974d534c44a4ccb61d87573932c9f2 Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
-rwxr-xr-xrepa/info.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/repa/info.py b/repa/info.py
index 011078d..f609f2d 100755
--- a/repa/info.py
+++ b/repa/info.py
@@ -91,7 +91,8 @@ def info(obs, name, target):
result = defaultdict(list)
for (repo, arch), target in build_results.iteritems():
for pkg, status in target['packages']:
- if status not in ('succeeded', 'building', 'blocked'):
+ if status not in ('succeeded', 'building',
+ 'blocked', 'disabled'):
result[(repo, arch)].append((pkg, status))
if result:
print