From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1055298-garchives=archives.gentoo.org@lists.gentoo.org>
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 DA2DF138334
	for <garchives@archives.gentoo.org>; Fri,  2 Nov 2018 19:14:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A4054E07A7;
	Fri,  2 Nov 2018 19:14:57 +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 744C9E07A7
	for <gentoo-commits@lists.gentoo.org>; Fri,  2 Nov 2018 19:14:57 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 92E65335C6F
	for <gentoo-commits@lists.gentoo.org>; Fri,  2 Nov 2018 19:14:55 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BDC7F44C
	for <gentoo-commits@lists.gentoo.org>; Fri,  2 Nov 2018 19:14:53 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
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" <zmedico@gentoo.org>
Message-ID: <1541186053.1cc3352b6580af95965e231b35e80627b8391df4.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: 1cc3352b6580af95965e231b35e80627b8391df4
X-VCS-Branch: master
Date: Fri,  2 Nov 2018 19:14:53 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 9fd1715a-3d7e-47bb-9da2-906c7db4527e
X-Archives-Hash: f4881d000a790a11247208f4502ce8bd

commit:     1cc3352b6580af95965e231b35e80627b8391df4
Author:     Bruce Schultz <brulzki <AT> gmail <DOT> com>
AuthorDate: Fri Nov  2 19:04:52 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Nov  2 19:14:13 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=1cc3352b

portageq get_repo_path: fix <eroot> parameter (bug 670082)

Use the @uses_configroot decorator to make portage get_repo_path
respect the <eroot> parameter, like portage repos_config since
commit 382f4be415394886026ccd5dcd08ca96ecda31fa.

Bug: https://bugs.gentoo.org/670082
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 bin/portageq | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/portageq b/bin/portageq
index c63591a77..ab22b1c4b 100755
--- a/bin/portageq
+++ b/bin/portageq
@@ -882,6 +882,7 @@ docstrings['master_repos'] = """<eroot> <repo_id>+
 master_repos.__doc__ = docstrings['master_repos']
 
 
+@uses_configroot
 @uses_eroot
 def get_repo_path(argv):