summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_notes.py
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-11 17:52:57 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-11 17:54:15 +0100
commit3c3a8bfd86850f76ff8b87d749095da5fafb6591 (patch)
treeb3595f57b1aadb45b17edb067f0cfd7dbcededb1 /bin/reproducible_html_notes.py
parent191d61b3c3f94b2718590b22b72fda102730320f (diff)
downloadjenkins.debian.net-3c3a8bfd86850f76ff8b87d749095da5fafb6591.tar.xz
reproducible: html_notes: fixup last commit
Diffstat (limited to 'bin/reproducible_html_notes.py')
-rwxr-xr-xbin/reproducible_html_notes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 51afa8dc..d839a2b2 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -403,7 +403,8 @@ def index_no_notes_section(notes, bugs, packages, suite, arch):
html += tab + str(len(pkgs)) + ' ' + status + ' packages:\n'
html += tab + '<code>\n'
for pkg in pkgs:
- url = RB_PKG_URI + '/' + pkg[2] + '/' + pkg[3] + '/' + pkg[0] + '.html'
+ # 0: name, 1: suite, 2: arch, 3: status
+ url = RB_PKG_URI + '/' + pkg[1] + '/' + pkg[2] + '/' + pkg[0] + '.html'
html += tab*2 + '<a href="' + url + '" class="package">' + pkg[0]
html += '</a>' + get_trailing_icon(pkg[0], bugs) + '\n'
html += tab + '</code>\n'