Make authors a list
This commit is contained in:
parent
62300a8290
commit
a2c9e099f0
@ -1,3 +1,3 @@
|
||||
Contributors, sorted by the number of commits in descending order:
|
||||
|
||||
Florian Bruhin
|
||||
* Florian Bruhin
|
||||
|
@ -27,9 +27,9 @@ from collections import Counter
|
||||
commits = subprocess.check_output(['git', 'log', '--format=%aN'])
|
||||
cnt = Counter(commits.decode('utf-8').splitlines())
|
||||
|
||||
with open('AUTHORS', 'w', newline='\n', encoding='utf-8') as f:
|
||||
with open('doc/AUTHORS.asciidoc', 'w', newline='\n', encoding='utf-8') as f:
|
||||
f.write("Contributors, sorted by the number of commits in descending "
|
||||
"order:\n\n")
|
||||
for author in sorted(cnt, key=lambda k: cnt[k]):
|
||||
f.write(author)
|
||||
f.write('* ' + author)
|
||||
f.write('\n')
|
||||
|
Loading…
Reference in New Issue
Block a user