public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/
Date: Wed, 31 Mar 2021 06:28:11 +0000 (UTC)	[thread overview]
Message-ID: <1617172016.3964690033e37c097b7ba2e207c0962144761757.zmedico@gentoo> (raw)

commit:     3964690033e37c097b7ba2e207c0962144761757
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 31 06:25:04 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Mar 31 06:26:56 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=39646900

repoman: correct parse_args local sys.argv reference

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 repoman/lib/repoman/argparser.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/repoman/lib/repoman/argparser.py b/repoman/lib/repoman/argparser.py
index 6d545ccca..47215693c 100644
--- a/repoman/lib/repoman/argparser.py
+++ b/repoman/lib/repoman/argparser.py
@@ -1,5 +1,5 @@
 # repoman: Argument parser
-# Copyright 2007-2019 Gentoo Authors
+# Copyright 2007-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 """This module contains functions used in Repoman to parse CLI arguments."""
@@ -222,7 +222,7 @@ def parse_args(argv, repoman_default_opts):
 	if not opts.ignore_default_opts:
 		default_opts = util.shlex_split(repoman_default_opts)
 		if default_opts:
-			opts = parser.parse_args(default_opts + sys.argv[1:])
+			opts = parser.parse_args(default_opts + argv[1:])
 
 	args = []
 	if opts.mode is not None:


             reply	other threads:[~2021-03-31  6:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31  6:28 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-03-31  6:34 [gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/ Zac Medico
2021-03-28 22:59 Zac Medico
2021-03-28 18:48 Zac Medico
2020-08-16  0:43 Zac Medico
2020-08-15 23:56 Zac Medico
2020-03-23 22:02 Zac Medico
2019-12-03 23:18 Zac Medico
2019-12-03 23:07 Zac Medico
2019-05-26  4:29 Zac Medico
2018-10-27 23:39 Zac Medico
2018-09-30 20:38 Mike Gilbert
2018-09-30 20:38 Mike Gilbert
2018-09-22  9:44 Zac Medico
2018-08-16 20:05 Michał Górny

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=1617172016.3964690033e37c097b7ba2e207c0962144761757.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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