summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-07 14:30:23 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-07 14:30:23 -0700
commitc6f7933f0f3aa4b92540fbdbe7135391c2dba246 (patch)
treea7ad3158bfe27feef50db95a9eae4e9469573b4c
parentFix KeyError for missing repo in eclass_overrides (diff)
downloadportage-c6f7933f0f3aa4b92540fbdbe7135391c2dba246.tar.gz
portage-c6f7933f0f3aa4b92540fbdbe7135391c2dba246.tar.bz2
portage-c6f7933f0f3aa4b92540fbdbe7135391c2dba246.zip
Make repoman ignore sets.conf.v2.2_rc91
-rw-r--r--pym/portage/repository/config.py5
1 files 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)