Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2006-05-16 20:21:36 +0200
committerArthur de Jong <arthur@arthurdejong.org>2006-05-16 20:21:36 +0200
commitee683a7555b550eabc2ca5e324865855e156416c (patch)
tree3da547d4e7711b9440be53a40dddff825a3fb42c
parent594a242a4f832f1e7669d7aba6c693c30639137d (diff)
fix sorting
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@275 86f53f14-5ff3-0310-afe5-9b438ce3f40c
-rw-r--r--plugins/size.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/size.py b/plugins/size.py
index 6da8428..fe8b762 100644
--- a/plugins/size.py
+++ b/plugins/size.py
@@ -61,7 +61,7 @@ def generate(site):
x.isinternal and
_getsize(x) >= config.REPORT_SLOW_URL_SIZE*1024 ]
# sort links by size (biggest first)
- links.sort(lambda a, b: cmp(a.totalSize, b.totalSize))
+ links.sort(lambda a, b: cmp(b.totalSize, a.totalSize))
# present results
fp = plugins.open_html(plugins.size, site)
if not links: