From b7716c8830360b918e7c56fe1646b8368cc193fb Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 14 Feb 2015 18:43:28 +0100 Subject: reproducible: html_notes: print the actual number of categorized packages, not all noted packages --- bin/reproducible_html_notes.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_html_notes.py') 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 + '\n' html += tab*3 + '\n' html += tab*2 + '\n' - html += tab*2 + '

For a total of ' + str(len(notes)) + ' packages' \ - + ' categorized in ' + str(len(issues)) + ' issues.

' + html += tab*2 + '

For a total of ' + \ + str(len([x for x in notes if notes[x].get('issues')])) + \ + ' packages categorized in ' + str(len(issues)) + \ + ' issues.

' html += tab*2 + '

Notes are stored in notes.git.

' title = 'Overview of known issues related to reproducible builds' destfile = BASE + '/index_issues.html' -- cgit v1.2.3-70-g09d2