summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/repository/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 0c924e7d5..be202c392 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -297,6 +297,10 @@ class RepoConfigLoader(object):
else:
repo.masters = ()
else:
+ if repo.masters and isinstance(repo.masters[0], RepoConfig):
+ # This one has already been processed
+ # because it has an alias.
+ continue
master_repos = []
for master_name in repo.masters:
if master_name not in prepos: