summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_notes.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 9841c19a..b75b0850 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -329,8 +329,10 @@ def index_issues(issues):
html += tab*4 + '</td>\n'
html += tab*3 + '</tr>\n'
html += tab*2 + '</table>\n'
- html += tab*2 + '<p>For a total of <b>' + str(len(notes)) + '</b> packages' \
- + ' categorized in <b>' + str(len(issues)) + '</b> issues.</p>'
+ html += tab*2 + '<p>For a total of <b>' + \
+ str(len([x for x in notes if notes[x].get('issues')])) + \
+ '</b> packages categorized in <b>' + str(len(issues)) + \
+ '</b> issues.</p>'
html += tab*2 + '<p>Notes are stored in <a href="https://anonscm.debian.org/cgit/reproducible/notes.git" target="_parent">notes.git</a>.</p>'
title = 'Overview of known issues related to reproducible builds'
destfile = BASE + '/index_issues.html'