projects
/
tools
/
repa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb1b676
)
Added 'waiting for images' status to repa list output
author
Ed Bartosh
<eduard.bartosh@intel.com>
Fri, 2 May 2014 15:36:38 +0000
(18:36 +0300)
committer
Ed Bartosh
<eduard.bartosh@intel.com>
Fri, 2 May 2014 15:36:38 +0000
(18:36 +0300)
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>
repa/list.py
patch
|
blob
|
history
diff --git
a/repa/list.py
b/repa/list.py
index 68f98120fe63ba88f03af095776825eb4dd536f3..28f602d532b494f83e3ad08866832d896ebec78b 100755
(executable)
--- 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')