public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/modules/scan/
@ 2021-03-31  7:35 Zac Medico
  0 siblings, 0 replies; only message in thread
From: Zac Medico @ 2021-03-31  7:35 UTC (permalink / raw
  To: gentoo-commits

commit:     d04486767159f9dba443e7a9d1a6c3854db00400
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 31 07:30:51 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Mar 31 07:33:50 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=d0448676

repoman: fix ModuleConfig _not_installed path (bug 779055)

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

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

diff --git a/repoman/lib/repoman/modules/scan/module.py b/repoman/lib/repoman/modules/scan/module.py
index 3321cb224..41c1becfc 100644
--- a/repoman/lib/repoman/modules/scan/module.py
+++ b/repoman/lib/repoman/modules/scan/module.py
@@ -31,9 +31,9 @@ class ModuleConfig:
 		if repository_modules:
 			self.configpaths = [os.path.join(path, 'repository.yaml') for path in configpaths]
 		elif _not_installed:
-			self.configpaths = [os.path.realpath(os.path.join(os.path.dirname(
+			self.configpaths = [os.path.realpath(os.path.join(
 				os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(
-				os.path.dirname(__file__)))))), 'repoman/cnf/repository/repository.yaml'))]
+				os.path.dirname(__file__))))), 'cnf/repository/repository.yaml'))]
 		else:
 			self.configpaths = [os.path.join(portage.const.EPREFIX or '/',
 				'usr/share/repoman/repository/repository.yaml')]


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

only message in thread, other threads:[~2021-03-31  7:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-31  7:35 [gentoo-commits] proj/portage:master commit in: repoman/lib/repoman/modules/scan/ Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox