summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_notes.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-09-24 13:36:16 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-24 13:36:16 +0200
commit919f8b73a8215e08b6a60bfc8393ecdfd8cd3ac4 (patch)
treee9f624de75452ea318173b8114b28a7059fffef4 /bin/reproducible_html_notes.py
parentef3ee38aae9896ee1e2bdd74fd828b3b01d4265b (diff)
downloadjenkins.debian.net-919f8b73a8215e08b6a60bfc8393ecdfd8cd3ac4.tar.xz
reproducible Debian: ignore more unicode errors
Diffstat (limited to 'bin/reproducible_html_notes.py')
-rwxr-xr-xbin/reproducible_html_notes.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index cc115f64..7262f774 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