From 6f866b940188a4ecef5aa0357750e68ee2abf447 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Fri, 2 May 2014 18:36:38 +0300 Subject: [PATCH] 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 --- repa/list.py | 2 ++ 1 file changed, 2 insertions(+) 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') -- 2.34.1