summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-07 14:20:44 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-07 14:20:44 -0700
commit38bb81fa0a833e4e6d5386afb2266db99cc41acb (patch)
treedbb06ec1eb3daecea1d15bee7a21119f48de157a
parent959b0cb460b6b6421d80ba08a3ea8958fbcceec1 (diff)
downloadportage-38bb81fa0a833e4e6d5386afb2266db99cc41acb.tar.gz
portage-38bb81fa0a833e4e6d5386afb2266db99cc41acb.tar.bz2
portage-38bb81fa0a833e4e6d5386afb2266db99cc41acb.zip
Fix KeyError for missing repo in eclass_overrides
-rw-r--r--pym/portage/repository/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index e99073dfa..fd3eb183b 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -375,7 +375,7 @@ class RepoConfigLoader(object):
if repo.eclass_overrides:
for other_repo_name in repo.eclass_overrides:
- if other_repo_name in self.prepos:
+ if other_repo_name in self.treemap:
eclass_locations.append(self.get_location_for_name(other_repo_name))
else:
writemsg_level(_("Unavailable repository '%s' " \