[Qa-jenkins-scm] [jenkins.debian.net] 05/05: reproducible: unify output

Holger Levsen holger at moszumanska.debian.org
Fri Mar 13 15:22:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit bc38e420f400fd43f43d356beaa4e868d0c98dfa
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Mar 13 16:16:00 2015 +0100

    reproducible: unify output
---
 bin/reproducible_html_notes.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 13ef4c6..c95f30d 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list