generate_doc: Order authors correctly.
This commit is contained in:
parent
48968bba33
commit
f6c1c8b73b
@ -387,7 +387,7 @@ def _get_authors():
|
|||||||
"""Get a list of authors based on git commit logs."""
|
"""Get a list of authors based on git commit logs."""
|
||||||
commits = subprocess.check_output(['git', 'log', '--format=%aN'])
|
commits = subprocess.check_output(['git', 'log', '--format=%aN'])
|
||||||
cnt = collections.Counter(commits.decode('utf-8').splitlines())
|
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):
|
def generate_manpage_author(f):
|
||||||
|
Loading…
Reference in New Issue
Block a user