public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-6475] check-MAINTAINERS.py: use sys.argv[1]
Date: Tue, 11 Jan 2022 13:30:10 +0000 (GMT)	[thread overview]
Message-ID: <20220111133010.5FB2938A98F5@sourceware.org> (raw)

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))


                 reply	other threads:[~2022-01-11 13:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220111133010.5FB2938A98F5@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).