public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6475] check-MAINTAINERS.py: use sys.argv[1]
@ 2022-01-11 13:30 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-01-11 13:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:438f2a24a4f02a3128847f7186bfcb56e7a60d83

commit r12-6475-g438f2a24a4f02a3128847f7186bfcb56e7a60d83
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Jan 11 14:29:25 2022 +0100

    check-MAINTAINERS.py: use sys.argv[1]
    
    contrib/ChangeLog:
    
            * check-MAINTAINERS.py: Use sys.argv[1] as path to MAINTAINERS.

Diff:
---
 contrib/check-MAINTAINERS.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/check-MAINTAINERS.py b/contrib/check-MAINTAINERS.py
index ca7bb291282..08fc8e48fd5 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))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-11 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11 13:30 [gcc r12-6475] check-MAINTAINERS.py: use sys.argv[1] Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).