[mhonarc] show top 10 subscriber lists in bold



commit f4abcb4731ae5edda6a15b641105e3ef0a213358
Author: Olav Vitters <olav vitters nl>
Date:   Wed Feb 13 14:29:29 2013 +0100

    show top 10 subscriber lists in bold

 update-master |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/update-master b/update-master
index 678b392..152e8a3 100755
--- a/update-master
+++ b/update-master
@@ -126,7 +126,7 @@ print >>INDEX, """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.
     <ul style="-moz-column-width: 30ex; -webkit-column-width: 30ex; column-width: 30ex">
 """
 
-top_mlists = set(sorted(mlists, cmp=lambda a, b: cmp(len(a.members), len(b.members)))[:10])
+top_mlists = set(sorted(mlists, cmp=lambda a, b: cmp(len(a.members), len(b.members)), reverse=True)[:10])
 
 for list in mlists:
     if list in top_mlists:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]