diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 72352bda..4ba3a414 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -193,8 +193,8 @@ amount = int(query_db('SELECT count(name) FROM sources')[0][0]) count_total = int(query_db('SELECT COUNT(name) FROM source_packages')[0][0]) count_good = int(query_db( 'SELECT COUNT(name) FROM source_packages WHERE status="reproducible"')[0][0]) -percent_total = round(((count_total/amount)*100), 2) -percent_good = round(((count_good/count_total)*100), 2) +percent_total = round(((count_total/amount)*100), 1) +percent_good = round(((count_good/count_total)*100), 1) log.info('Total packages in Sid:\t' + str(amount)) log.info('Total tested packages:\t' + str(count_total)) log.info('Total reproducible packages:\t' + str(count_good)) |