summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Bartosh <eduard.bartosh@intel.com>2014-02-25 18:40:54 +0200
committerEduard Bartosh <eduard.bartosh@intel.com>2014-02-27 18:12:54 +0200
commit269723dcdac58050bc0c58344fd006e960d38ef6 (patch)
tree46e6819a40bcc0396860a9c0e465f600a791cb90
parent27e92046134753756cef958297039c936f4c249a (diff)
downloadrepa-269723dcdac58050bc0c58344fd006e960d38ef6.tar.gz
repa-269723dcdac58050bc0c58344fd006e960d38ef6.tar.bz2
repa-269723dcdac58050bc0c58344fd006e960d38ef6.zip
Added docstring to show_images function
Change-Id: I919bfe46b4023bc344927a57040f3c24e294a07c Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com> Reviewed-on: https://otctools.jf.intel.com/review/10079 Reviewed-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
-rwxr-xr-xrepa/list.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/repa/list.py b/repa/list.py
index 2420e8f..c64daf9 100755
--- a/repa/list.py
+++ b/repa/list.py
@@ -51,6 +51,7 @@ def get_status(obs, project):
def show_images(meta):
+ """Helper function to print list of images."""
if 'images' in meta:
print ' images:', ' '.join("%s:%s" % (img['name'], img['status']) \
for img in meta['images'])