mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-22 11:41:07 +08:00
check-MAINTAINERS.py: use sys.argv[1]
contrib/ChangeLog: * check-MAINTAINERS.py: Use sys.argv[1] as path to MAINTAINERS.
This commit is contained in:
parent
265d3e1a4e
commit
438f2a24a4
@ -82,7 +82,7 @@ def check_group(name, lines):
|
||||
print(f'{name} are fine!')
|
||||
|
||||
|
||||
lines = open('MAINTAINERS').read().splitlines()
|
||||
lines = open(sys.argv[1]).read().splitlines()
|
||||
|
||||
needle = 'Global Reviewers'
|
||||
lines = list(dropwhile(lambda x: x.strip() != needle, lines))
|
||||
|
Loading…
x
Reference in New Issue
Block a user