From f6c1c8b73b31e9e3d671e763b222abab26e0e25f Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 27 Aug 2014 13:16:01 +0200 Subject: [PATCH] generate_doc: Order authors correctly. --- scripts/generate_doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_doc.py b/scripts/generate_doc.py index fcd777cda..f1459df5a 100755 --- a/scripts/generate_doc.py +++ b/scripts/generate_doc.py @@ -387,7 +387,7 @@ def _get_authors(): """Get a list of authors based on git commit logs.""" commits = subprocess.check_output(['git', 'log', '--format=%aN']) cnt = collections.Counter(commits.decode('utf-8').splitlines()) - return sorted(cnt, key=lambda k: cnt[k]) + return reversed(sorted(cnt, key=lambda k: cnt[k])) def generate_manpage_author(f):