summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_notes.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-13 16:16:00 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-13 16:16:00 +0100
commitbc38e420f400fd43f43d356beaa4e868d0c98dfa (patch)
tree4481307bb566c16e09890fc55352d90481b2c79d /bin/reproducible_html_notes.py
parentca290806dcc9a9371c9ccf893d08a270077ccd23 (diff)
downloadjenkins.debian.net-bc38e420f400fd43f43d356beaa4e868d0c98dfa.tar.xz
reproducible: unify output
Diffstat (limited to 'bin/reproducible_html_notes.py')
-rwxr-xr-xbin/reproducible_html_notes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 13ef4c61..c95f30d7 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -409,7 +409,7 @@ def index_notes(notes, bugs):
def index_no_notes_section(notes, bugs, packages, suite, arch):
- html = '<p>In ' + suite + '/' + arch + ':</p>\n'
+ html = ''
for status in ['unreproducible', 'FTBFS']:
pkgs = [x for x in packages if x[3] == status]
if not pkgs:
@@ -417,7 +417,7 @@ def index_no_notes_section(notes, bugs, packages, suite, arch):
html += '<p>\n'
html += tab + '<img src="/static/' + join_status_icon(status)[1] + '"'
html += ' alt="' + status + ' icon" />\n'
- html += tab + str(len(pkgs)) + ' ' + status + ' packages:\n'
+ html += tab + str(len(pkgs)) + ' ' + status + ' packages in ' + suite + '/' + arch + ':\n'
html += tab + '<code>\n'
for pkg in pkgs:
# 0: name, 1: suite, 2: arch, 3: status