Refined the output of repa list
authorEd Bartosh <eduard.bartosh@intel.com>
Wed, 21 Aug 2013 08:21:18 +0000 (11:21 +0300)
committerHasan Wan <hasan.wan@intel.com>
Wed, 21 Aug 2013 12:35:58 +0000 (05:35 -0700)
Space separated list of images looks better from my point of view.

Change-Id: Ic4ebc7c68f349f5f5c0400a42fe5fc53a2546ca0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/6033
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
repa/list.py

index 6ff71ae..a27d3de 100755 (executable)
@@ -33,7 +33,7 @@ def get_status(obs, project):
 
 def show_images(meta):
     if 'images' in meta:
-        print '    images:', ','.join("%s:%s" % (img['name'], img['status']) \
+        print '    images:', ' '.join("%s:%s" % (img['name'], img['status']) \
                                       for img in meta['images'])
 
 def list_submissions(obs, regexp):