From c6f7933f0f3aa4b92540fbdbe7135391c2dba246 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 7 Oct 2010 14:30:23 -0700 Subject: [PATCH] Make repoman ignore sets.conf. --- pym/portage/repository/config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index fd3eb183b..35ddd140a 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -460,6 +460,7 @@ class RepoConfigLoader(object): def load_repository_config(settings): #~ repoconfigpaths = [os.path.join(settings.global_config_path, "repos.conf")] repoconfigpaths = [] - repoconfigpaths.append(os.path.join(settings["PORTAGE_CONFIGROOT"], - USER_CONFIG_PATH, "repos.conf")) + if settings.local_config: + repoconfigpaths.append(os.path.join(settings["PORTAGE_CONFIGROOT"], + USER_CONFIG_PATH, "repos.conf")) return RepoConfigLoader(repoconfigpaths, settings) -- 2.26.2