From 3eb28e8213349432fac84de591092763c0a66766 Mon Sep 17 00:00:00 2001 From: HW42 Date: Sun, 30 Aug 2015 02:12:10 +0200 Subject: package html: remove unneeded in suite list This makes formating of the
  • s easier. In additions this fix the wrongly orderder
  • --- bin/reproducible_html_packages.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index b44128b0..b2073dea 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -182,7 +182,8 @@ def gen_suites_links(package, current_suite, current_arch): if not status: # The package is not available in that suite/arch continue version = package.get_tested_version(s, a) - html += '
  • \n' + tab + li_classes = ['suite'] + html += '
  • \n' + tab if status != 'untested': prefix = ''.format(s, a, status) suffix = '\n' @@ -192,9 +193,9 @@ def gen_suites_links(package, current_suite, current_arch): icon = prefix + '{status}' + suffix html += icon.format(icon=join_status_icon(status)[1], status=status) html += (tab*2 + ' {}: {}
  • \n').format(RB_PKG_URI, + ' title="{}: {}">{}: {}\n').format(RB_PKG_URI, s, a, package.name, status, version, s, version) - html += '\n' + html += '\n' html += tab + '' html += '\n' return tab*5 + (tab*7).join(html.splitlines(True)) -- cgit v1.2.3-54-g00ecf