From a2c9e099f0831b38ede2e94af3e2d024587287f9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 26 Jun 2014 20:14:05 +0200 Subject: [PATCH] Make authors a list --- doc/AUTHORS.asciidoc | 2 +- scripts/generate_authors.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/AUTHORS.asciidoc b/doc/AUTHORS.asciidoc index 2c07aa61f..a091ae32d 100644 --- a/doc/AUTHORS.asciidoc +++ b/doc/AUTHORS.asciidoc @@ -1,3 +1,3 @@ Contributors, sorted by the number of commits in descending order: -Florian Bruhin +* Florian Bruhin diff --git a/scripts/generate_authors.py b/scripts/generate_authors.py index cd3ac4ac4..999e5e148 100644 --- a/scripts/generate_authors.py +++ b/scripts/generate_authors.py @@ -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')