From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 20FDD138334 for ; Mon, 19 Nov 2018 07:29:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C095E08B0; Mon, 19 Nov 2018 07:29:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C752E08B0 for ; Mon, 19 Nov 2018 07:29:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DEC33335C39 for ; Mon, 19 Nov 2018 07:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2C9543A for ; Mon, 19 Nov 2018 07:29:23 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1542612173.089a6082e7d115b7dc07862121f68b72d9f123f6.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/portageq X-VCS-Directories: bin/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 089a6082e7d115b7dc07862121f68b72d9f123f6 X-VCS-Branch: master Date: Mon, 19 Nov 2018 07:29:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5296f1de-3c7f-48a3-83dd-072efc852ec1 X-Archives-Hash: c3109e8bc9f543e21501060df5d18a73 commit: 089a6082e7d115b7dc07862121f68b72d9f123f6 Author: Bruce Schultz gmail com> AuthorDate: Mon Nov 19 07:22:53 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Nov 19 07:22:53 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=089a6082 portageq get_repos: fix parameter (bug 670082) Use the @uses_configroot decorator to make portage get_repos respect the parameter, like portage repos_config since commit 382f4be415394886026ccd5dcd08ca96ecda31fa. Apply the same fix to master_repositories and master_repos. Bug: https://bugs.gentoo.org/670082 Signed-off-by: Zac Medico gentoo.org> bin/portageq | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/portageq b/bin/portageq index ab22b1c4b..3be5ab584 100755 --- a/bin/portageq +++ b/bin/portageq @@ -836,6 +836,7 @@ docstrings['envvar'] = """+ envvar.__doc__ = docstrings['envvar'] +@uses_configroot @uses_eroot def get_repos(argv): if len(argv) < 1: @@ -849,6 +850,7 @@ docstrings['get_repos'] = """ get_repos.__doc__ = docstrings['get_repos'] +@uses_configroot @uses_eroot def master_repositories(argv): if len(argv) < 2: @@ -872,6 +874,7 @@ docstrings['master_repositories'] = """ + master_repositories.__doc__ = docstrings['master_repositories'] +@uses_configroot @uses_eroot def master_repos(argv): return master_repositories(argv)