generate_doc: Order authors correctly.

This commit is contained in:
Florian Bruhin 2014-08-27 13:16:01 +02:00
parent 48968bba33
commit f6c1c8b73b

View File

@ -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):