From af6fd73557ad4f0a518e5ebe5f7bfc0a46a0c433 Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Fri, 6 Mar 2015 13:47:56 +1100 Subject: [PATCH] zuul-swift-upload place mime icon into cell The mime icons were not correctly placed in the table cell causing them to appear above the table (eg: http://logs.openstack.org/16/155516/1/check/check-dg-tempest-dsvm-full/c0853a4/index.html) Put in the missing tags. Change-Id: Icdae38d55a6dd9472c382006bae9addf3ef6010b --- jenkins/scripts/zuul_swift_upload.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jenkins/scripts/zuul_swift_upload.py b/jenkins/scripts/zuul_swift_upload.py index 13137a6154..9623174ca6 100755 --- a/jenkins/scripts/zuul_swift_upload.py +++ b/jenkins/scripts/zuul_swift_upload.py @@ -84,11 +84,12 @@ def generate_log_index(folder_links, header_message=''): for file_details in folder_links: output += '' - output += '[ ]' % ({ + output += ( + '[ ]' % ({ 'm': file_details['metadata']['mime'], 'i': get_mime_icon(file_details['metadata']['mime'], file_details['filename']), - }) + })) output += '%s' % (file_details['url'], file_details['filename']) output += '%s' % time.asctime(