From 9e151d663c608ef06a19a8cf82ebdb557fe06d28 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 15 Feb 2015 01:13:39 +0100 Subject: reproducible: html_indexes: do percents against how many tested packages, not packages in sid --- bin/reproducible_html_indexes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py index cd580190..1e55bdbb 100755 --- a/bin/reproducible_html_indexes.py +++ b/bin/reproducible_html_indexes.py @@ -119,8 +119,8 @@ pages = { def build_leading_text_section(section, rows): html = '

\n' + tab total = len(rows) - percent = round(((total/amount)*100), 1) # amount is defined in common - try: + percent = round(((total/count_total)*100), 1) # count_total is + try: # defined in common html += '' no_icon_link = False except KeyError: -- cgit v1.2.3-54-g00ecf