Update authors

This commit is contained in:
Ram Rachum 2022-04-02 16:07:32 +01:00
parent f3d7f39af4
commit 7ca28af18d
2 changed files with 11 additions and 4 deletions

View file

@ -24,3 +24,5 @@ Itamar.Raviv
iory
Mark Blakeney
Yael Mintz
Lumír 'Frenzy' Balhar
Lukas Klenk

View file

@ -19,6 +19,11 @@ You probably want to run it this way:
import subprocess
import sys
# This is used for people who show up more than once:
deny_list = frozenset((
'Lumir Balhar',
))
def drop_recurrences(iterable):
s = set()
@ -37,10 +42,10 @@ def iterate_authors_by_chronological_order(branch):
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
)
log_lines = log_call.stdout.decode('utf-8').split('\n')
return drop_recurrences(
(line.strip().split(";")[1] for line in log_lines)
)
authors = tuple(line.strip().split(";")[1] for line in log_lines)
authors = (author for author in authors if author not in deny_list)
return drop_recurrences(authors)
def print_authors(branch):