projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be0d93b
)
Avoid 'Unavailable repository' with aliases.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Oct 2010 20:27:05 +0000
(13:27 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Oct 2010 20:27:05 +0000
(13:27 -0700)
pym/portage/repository/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/repository/config.py
b/pym/portage/repository/config.py
index 0c924e7d556e8393561502858ed5cdf9e06e269f..be202c3922f5b902554d5ef8eab8d56fe7e78ccb 100644
(file)
--- 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: