summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-09-24 13:43:16 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-24 13:43:16 +0200
commita90056a2dd0cafe37baea1cacfc37f091b2be8e6 (patch)
treeeb9aa0657449e6df009208d95361fc6ea7f435cc /bin
parente1bc15e199c1501db130b6d6b5cbfd6a3483608a (diff)
downloadjenkins.debian.net-a90056a2dd0cafe37baea1cacfc37f091b2be8e6.tar.xz
reproducible Debian: ignore unicode errors with a bigger hammer
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_notes.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 7262f774..7d1010f6 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -287,11 +287,11 @@ def gen_html_issue(issue, suite):
affected += tab*5 + str(len(pkgs)) + ' ' + status + ' packages in ' + suite + '/' + arch +':\n'
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):
- try:
+ try:
+ 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)
- except ValueError:
- pass
+ 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