diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-02-15 01:13:39 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-15 17:37:46 +0100 |
commit | 9e151d663c608ef06a19a8cf82ebdb557fe06d28 (patch) | |
tree | f2d2d9a60bb1237fef44020273e711e305e40d75 /bin | |
parent | 836291e79f8334a4484e46a40d3159009421f158 (diff) | |
download | jenkins.debian.net-9e151d663c608ef06a19a8cf82ebdb557fe06d28.tar.xz |
reproducible: html_indexes: do percents against how many tested packages, not packages in sid
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_indexes.py | 4 |
1 files 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 = '<p>\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 += '<a href="' + section['icon_link'] + '" target="_parent">' no_icon_link = False except KeyError: |