summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-04-12 20:36:19 +0200
committerHolger Levsen <holger@layer-acht.org>2015-04-13 01:08:21 +0200
commit4978f3e64f16601a026eb22f71f1c824fee90419 (patch)
treef8e6c882119eb17a581cc1b58d784e76ba2f254a
parentfa32d9912c0e378a83d4a17befe2ecb0863e6713 (diff)
downloadjenkins.debian.net-4978f3e64f16601a026eb22f71f1c824fee90419.tar.xz
reproducible: html_indexes: use that new link_package() thinghy
-rwxr-xr-xbin/reproducible_html_indexes.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index 6450c1ad..5a35c402 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -325,13 +325,7 @@ def build_page_section(page, section, suite, arch):
pkg = row[0]
url = RB_PKG_URI + '/' + suite + '/' + arch + '/' + pkg + '.html'
html += tab*2
- html += '<a href="' + url + '" class="'
- if package_has_notes(pkg):
- html += 'noted'
- else:
- html += 'package'
- html += '">' + pkg + '</a>'
- html += get_trailing_icon(pkg, bugs)
+ html += link_package(pkg, suite, arch, bugs)
if page == 'scheduled':
html += '</code></td></tr>'
html += '\n'