aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-07-10 21:44:50 +0000
committerZac Medico <zmedico@gentoo.org>2018-03-29 20:51:15 -0700
commit400083735b1e82403efb2e16254691d424218a5d (patch)
treeff2adc46306e63178c24ecb6f574426dcf112adb
parentrepoman: repos.py: Add masters_list (diff)
downloadportage-400083735b1e82403efb2e16254691d424218a5d.tar.gz
portage-400083735b1e82403efb2e16254691d424218a5d.tar.bz2
portage-400083735b1e82403efb2e16254691d424218a5d.zip
repoman: scanner.py: Update module loading to use masters_list
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rw-r--r--repoman/pym/repoman/scanner.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/repoman/pym/repoman/scanner.py b/repoman/pym/repoman/scanner.py
index ffce701be..b3d030570 100644
--- a/repoman/pym/repoman/scanner.py
+++ b/repoman/pym/repoman/scanner.py
@@ -116,9 +116,7 @@ class Scanner(object):
# Initialize the ModuleConfig class here
# TODO Add layout.conf masters repository.yml config to the list to load/stack
- self.moduleconfig = ModuleConfig([
- '/home/bdolbec/git/gentoo/metadata/repoman/repository.yml',
- ])
+ self.moduleconfig = ModuleConfig(self.repo_settings.masters_list)
checks = {}
# The --echangelog option causes automatic ChangeLog generation,