From fdff94a8c15e6722968bda4a830f7f3303f7bd12 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 1 Oct 2010 13:27:05 -0700 Subject: [PATCH] Avoid 'Unavailable repository' with aliases. --- pym/portage/repository/config.py | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.26.2