From 447d5f3a5a372660218f312cc792122d9b796d84 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 19 Mar 2015 01:50:58 +0100 Subject: reproducible: fix links for FTBR and untested --- bin/reproducible_html_packages.py | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_html_packages.py') diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index 61430f8a..9421531e 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -169,10 +169,18 @@ def gen_suites_links(package, suite): if i[0] == suite: continue status = 'untested' if not i[3] else i[3] + if status == 'unreproducible': + status = 'FTBR' html += '\n' + tab - icon = '{status}\n' - html += icon.format(icon=join_status_icon(status)[1], status=status, suite=i[0], arch=i[1]) - html += tab + '' + suffix = '\n' + else: + prefix = ' ' + suffix = '\n' + icon = prefix + '{status}' + suffix + html += icon.format(icon=join_status_icon(status)[1], status=status) + html += tab + ' ' + i[0] + \ ':' + i[2] + '\n' html += '\n' -- cgit v1.2.3-70-g09d2