summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Bartosh <eduard.bartosh@intel.com>2014-02-25 18:40:54 +0200
committerEd Bartosh <eduard.bartosh@intel.com>2014-03-18 17:30:10 +0200
commit6c757529313ff0b7b5899f829c2bb3d0a3f2bad8 (patch)
treecf3fb568ba0e00b10fd22f27d93660d6c07720ae
parentbd31d521f618b2b457a56ff5fc6753eec1c7d4d7 (diff)
downloadrepa-6c757529313ff0b7b5899f829c2bb3d0a3f2bad8.tar.gz
repa-6c757529313ff0b7b5899f829c2bb3d0a3f2bad8.tar.bz2
repa-6c757529313ff0b7b5899f829c2bb3d0a3f2bad8.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'])