diff options
author | Ed Bartosh <eduard.bartosh@intel.com> | 2014-05-02 18:36:38 +0300 |
---|---|---|
committer | Ed Bartosh <eduard.bartosh@intel.com> | 2014-05-02 18:36:38 +0300 |
commit | 6f866b940188a4ecef5aa0357750e68ee2abf447 (patch) | |
tree | 45654029ddf3d746d7c07352ce48cbf526a210a3 | |
parent | fb1b67643cc3a15bddbab8eb9013b4c903338f35 (diff) | |
download | repa-6f866b940188a4ecef5aa0357750e68ee2abf447.tar.gz repa-6f866b940188a4ecef5aa0357750e68ee2abf447.tar.bz2 repa-6f866b940188a4ecef5aa0357750e68ee2abf447.zip |
Added 'waiting for images' status to repa list output
This status will be shown when there is no information about images in meta.
Change-Id: I0263f9860fccf400ba36bf1d77840d0d006692f6
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
-rwxr-xr-x | repa/list.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/repa/list.py b/repa/list.py index 68f9812..28f602d 100755 --- a/repa/list.py +++ b/repa/list.py @@ -63,6 +63,8 @@ def get_status(meta, colorizer, build_results=None): for imgstatus, (color, status) in statuses: if img['status'] == imgstatus: return getattr(colorizer, color)(status) + else: + return colorizer.blue('waiting for images') return colorizer.green('ready') |