diff options
author | Ed Bartosh <eduard.bartosh@intel.com> | 2014-04-30 23:17:53 +0300 |
---|---|---|
committer | Ed Bartosh <eduard.bartosh@intel.com> | 2014-05-01 21:01:31 +0300 |
commit | fb1b67643cc3a15bddbab8eb9013b4c903338f35 (patch) | |
tree | 857aeafb29f963e1af446f430cfcf66424276548 | |
parent | e4b2169b87f427df6fd9efda821573165f86e631 (diff) | |
download | repa-fb1b67643cc3a15bddbab8eb9013b4c903338f35.tar.gz repa-fb1b67643cc3a15bddbab8eb9013b4c903338f35.tar.bz2 repa-fb1b67643cc3a15bddbab8eb9013b4c903338f35.zip |
list: Added 'blocked' status
Blocked status was not processed before, which caused incorrect
status reporting by repa list.
Change-Id: Ibf219d914ef8cc3dc2a7d30881dbb6520c0fc19e
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
-rwxr-xr-x | repa/list.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/repa/list.py b/repa/list.py index ace70e9..68f9812 100755 --- a/repa/list.py +++ b/repa/list.py @@ -50,7 +50,8 @@ def get_status(meta, colorizer, build_results=None): statuses = [('broken', ('red', 'broken source')), ('unresolvable', ('red', 'unresolvable packages')), ('failed', ('red', 'package build failed')), - ('building', ('blue', 'package building'))] + ('building', ('blue', 'package building')), + ('blocked', ('blue', 'blocked'))] for pkgstatus, (color, status) in statuses: if pkgstatus in codes: return getattr(colorizer, color)(status) |