[Qa-jenkins-scm] [jenkins.debian.net] 03/03: reproducible Debian: ignore more unicode errors

Holger Levsen holger at layer-acht.org
Sat Sep 24 11:36:36 UTC 2016


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 919f8b73a8215e08b6a60bfc8393ecdfd8cd3ac4
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Sep 24 13:36:16 2016 +0200

    reproducible Debian: ignore more unicode errors
---
 bin/reproducible_html_notes.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index cc115f6..7262f77 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -288,7 +288,10 @@ def gen_html_issue(issue, suite):
             affected += tab*5 + '<code>\n'
             pkgs_popcon = issues_popcon_annotate(pkgs)
             for pkg, popcon, is_popular in sorted(pkgs_popcon, key=lambda x: x[0] in bugs):
-                affected += tab*6 + link_package(pkg, suite, arch, bugs, popcon, is_popular)
+                try:
+                    affected += tab*6 + link_package(pkg, suite, arch, bugs, popcon, is_popular)
+                except ValueError:
+                    pass
             affected += tab*5 + '</code>\n'
             affected += tab*4 + '</p>\n'
     except KeyError:    # The note is not listed in any package, that is

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