diff options
author | Dan McGee <dan@archlinux.org> | 2012-06-07 20:53:52 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-06-07 20:53:52 -0500 |
commit | 1b03069f0d9e0397a7ff07404343c9400bbcfa1c (patch) | |
tree | cc83e18af2933a8d011299e95e9d63aa00c75ff5 /devel | |
parent | a5fafae94f23ca2cf138cf07774e2c2a1a7d993a (diff) |
Use 3 decimal places for showing compression ratio
Otherwise there are too many grouped under each value.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/views.py b/devel/views.py index 16b6acc6..78ed26f2 100644 --- a/devel/views.py +++ b/devel/views.py @@ -234,7 +234,7 @@ def report(request, report_name, username=None): package.installed_size_pretty = filesizeformat( package.installed_size) ratio = package.compressed_size / float(package.installed_size) - package.ratio = '%.2f' % ratio + package.ratio = '%.3f' % ratio package.compress_type = package.filename.split('.')[-1] elif report_name == 'uncompressed-man': title = 'Packages with uncompressed manpages' |