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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue