diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-09-24 13:36:16 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-09-24 13:36:16 +0200 |
commit | 919f8b73a8215e08b6a60bfc8393ecdfd8cd3ac4 (patch) | |
tree | e9f624de75452ea318173b8114b28a7059fffef4 /bin/reproducible_html_notes.py | |
parent | ef3ee38aae9896ee1e2bdd74fd828b3b01d4265b (diff) | |
download | jenkins.debian.net-919f8b73a8215e08b6a60bfc8393ecdfd8cd3ac4.tar.xz |
reproducible Debian: ignore more unicode errors
Diffstat (limited to 'bin/reproducible_html_notes.py')
-rwxr-xr-x | bin/reproducible_html_notes.py | 5 |
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 |