aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-07-10 21:42:30 +0000
committerZac Medico <zmedico@gentoo.org>2018-03-29 20:51:14 -0700
commit4fdc66332aedd9d2fbb3b802493bdcc1da77c64e (patch)
tree107797fef17bdbf965ce3d1246fa68bc039ec786
parentrepoman: modules/scan/metadata: Add missed mod_kwargs 'repo_settings' (diff)
downloadportage-4fdc66332aedd9d2fbb3b802493bdcc1da77c64e.tar.gz
portage-4fdc66332aedd9d2fbb3b802493bdcc1da77c64e.tar.bz2
portage-4fdc66332aedd9d2fbb3b802493bdcc1da77c64e.zip
repoman: modules/scan/module.py: Prefix logging messages
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rw-r--r--repoman/pym/repoman/modules/scan/module.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/repoman/pym/repoman/modules/scan/module.py b/repoman/pym/repoman/modules/scan/module.py
index 1f9e85408..166cc15ef 100644
--- a/repoman/pym/repoman/modules/scan/module.py
+++ b/repoman/pym/repoman/modules/scan/module.py
@@ -25,10 +25,11 @@ class ModuleConfig(object):
@param configpaths: ordered list of filepaths to load
'''
- self.configpaths = configpaths
+ self.configpaths = [os.path.join(path, 'repository.yml') for path in configpaths]
+ logging.debug("ModuleConfig; configpaths: %s", self.configpaths)
self.controller = Modules(path=MODULES_PATH, namepath="repoman.modules.scan")
- logging.debug("module_names: %s", self.controller.module_names)
+ logging.debug("ModuleConfig; module_names: %s", self.controller.module_names)
self._configs = None
self.enabled = []
@@ -41,7 +42,6 @@ class ModuleConfig(object):
logging.debug("ModuleConfig; Processing loop %s", loop)
setattr(self, '%s_loop' % loop, self._determine_list(loop))
-
def load_configs(self, configpaths=None):
'''load the config files in order'''
if configpaths: