Rev 19: List contributors with more contributions first. in file:///data/jelmer/bzr-stats/trunk/

Jelmer Vernooij jelmer at samba.org
Sat Jun 28 21:31:02 BST 2008


At file:///data/jelmer/bzr-stats/trunk/

------------------------------------------------------------
revno: 19
revision-id: jelmer at samba.org-20080628203101-o51yt42l6tjuclq5
parent: jelmer at samba.org-20080628200745-a3zl9e16u38789dd
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-06-28 22:31:01 +0200
message:
  List contributors with more contributions first.
modified:
  __init__.py                    __init__.py-20060629132721-mkbaty0vfk4y3v59-1
=== modified file '__init__.py'
--- a/__init__.py	2008-06-28 20:07:45 +0000
+++ b/__init__.py	2008-06-28 20:31:01 +0000
@@ -340,7 +340,8 @@
     finally:
         repository.unlock()
     def sort_class(name):
-        return map(lambda (x,y): x, sorted(ret[name].items(), lambda x,y: cmp((x[1], x[0]), (y[1], y[0]))))
+        return map(lambda (x,y): x, 
+               sorted(ret[name].items(), lambda x,y: cmp((x[1], x[0]), (y[1], y[0])), reverse=True))
     return (sort_class("code"), sort_class("documentation"), sort_class("art"), sort_class("translation"))
 
 




More information about the bazaar-commits mailing list