diff options
author | 2023-04-23 20:11:11 +0500 | |
---|---|---|
committer | 2023-04-23 20:11:11 +0500 | |
commit | c6fd9091846d568e9129bf5f9e125ea9591165d0 (patch) | |
tree | c6cde59f9acf9647631345d447a5900019a93445 /scripts | |
parent | .github/workflows/emails.yml: switch from archived action (diff) | |
download | guru-c6fd9091846d568e9129bf5f9e125ea9591165d0.tar.gz guru-c6fd9091846d568e9129bf5f9e125ea9591165d0.tar.bz2 guru-c6fd9091846d568e9129bf5f9e125ea9591165d0.zip |
.github/workflows/emails.yml: unbroke
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/email-checker.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/email-checker.py b/scripts/email-checker.py index e0e4779132..aa23550e53 100755 --- a/scripts/email-checker.py +++ b/scripts/email-checker.py @@ -47,5 +47,7 @@ def check_maintainers(maintainers: Iterator[Maintainer]) -> Iterator[Maintainer] if __name__ == '__main__': - missing_maintainers = len(tuple(check_maintainers(set(read_all_maintainers(sys.argv[1:]))))) - sys.exit(int(missing_maintainers != 0)) + files = [line.strip() for line in sys.stdin] + maintainers = set(read_all_maintainers(files)) + missing_maintainers = tuple(check_maintainers(maintainers)) + sys.exit(int(len(missing_maintainers) != 0)) |