projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
265d3e1
)
check-MAINTAINERS.py: use sys.argv[1]
author
Martin Liska
<mliska@suse.cz>
Tue, 11 Jan 2022 13:29:25 +0000
(14:29 +0100)
committer
Martin Liska
<mliska@suse.cz>
Tue, 11 Jan 2022 13:29:54 +0000
(14:29 +0100)
contrib/ChangeLog:
* check-MAINTAINERS.py: Use sys.argv[1] as path to MAINTAINERS.
contrib/check-MAINTAINERS.py
patch
|
blob
|
history
diff --git
a/contrib/check-MAINTAINERS.py
b/contrib/check-MAINTAINERS.py
index
ca7bb29
..
08fc8e4
100755
(executable)
--- a/
contrib/check-MAINTAINERS.py
+++ b/
contrib/check-MAINTAINERS.py
@@
-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))