[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible: common: add a \n after every package link

Holger Levsen holger at moszumanska.debian.org
Tue Apr 21 14:50:30 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 83afd57b40089c83d15be0636aeea667d9b708c7
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Tue Apr 21 16:31:29 2015 +0200

    reproducible: common: add a \n after every package link
---
 bin/reproducible_common.py       | 2 +-
 bin/reproducible_html_indexes.py | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index fa8394b..202ea40 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -351,7 +351,7 @@ def link_package(package, suite, arch, bugs={}):
         html = '<a href="' + url + '" class="noted" title="' + title + \
                '">' + package + '</a>'
     finally:
-        html += get_trailing_icon(package, bugs)
+        html += get_trailing_icon(package, bugs) + '\n'
     return html
 
 
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index 262f2a0..0d86db9 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -393,7 +393,6 @@ def build_page_section(page, section, suite, arch):
     for row in rows:
         pkg = row[0]
         html += tab*2 + link_package(pkg, suite, arch, bugs)
-        html += '\n'
     else:
         html += tab + '</code>\n'
         html += '</p>'

-- 
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