From 8758d820d6ee4b668f70210ec594b90ba58ab075 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 11 Sep 2015 15:49:34 +0200 Subject: reproducible: include bug stati into live_status --- bin/reproducible_html_live_status.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_html_live_status.py') diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py index 96d6eb2a..efb3c13f 100755 --- a/bin/reproducible_html_live_status.py +++ b/bin/reproducible_html_live_status.py @@ -24,7 +24,7 @@ def convert_into_hms_string(duration): elif minutes > 0: duration = str(minutes)+'m ' + str(seconds) + 's' else: - duration = str(seconds+"s") + duration = str(seconds)+'s' return duration def generate_schedule(arch): @@ -42,17 +42,18 @@ def generate_schedule(arch): html += '

\n' + tab html += '' html += '\n' + bugs = get_bugs() for row in rows: # 0: date_scheduled, 1: suite, 2: arch, 3: pkg name pkg = row[3] html += tab + '' html += '\n' html += '
#scheduled atsuitearchsource package
 ' + row[0] + '' + row[1] + '' + row[2] + '' - html += link_package(pkg, row[1], row[2]) + html += link_package(pkg, row[1], row[2], bugs) html += '

\n' destfile = BASE + '/index_' + arch + '_scheduled.html' desturl = REPRODUCIBLE_URL + '/index_' + arch + '_scheduled.html' - write_html_page(title=title, body=html, destfile=destfile, arch=arch, refresh_every=60) + write_html_page(title=title, body=html, destfile=destfile, arch=arch, style_note=True, refresh_every=60) log.info("Page generated at " + desturl) -- cgit v1.2.3-54-g00ecf