From: Zac Medico Date: Thu, 7 Oct 2010 21:20:44 +0000 (-0700) Subject: Fix KeyError for missing repo in eclass_overrides X-Git-Tag: v2.2_rc91~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38bb81fa0a833e4e6d5386afb2266db99cc41acb;p=portage.git Fix KeyError for missing repo in eclass_overrides --- 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' " \