aboutsummaryrefslogtreecommitdiff
path: root/contrib/check-MAINTAINERS.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/check-MAINTAINERS.py')
-rwxr-xr-xcontrib/check-MAINTAINERS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check-MAINTAINERS.py b/contrib/check-MAINTAINERS.py
index ca7bb29..08fc8e4 100755
--- 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))