summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-22 09:57:11 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-22 09:57:11 -0700
commit5e94ead84f5a0b2f2f5ad7f9333bc22b2124abe7 (patch)
tree7fd27302a9f4af2555e0a4ba0e7d6ab938b7c2f2
parentcc0d0ac4493583d43422e67a327e3b29bbe9d0e4 (diff)
downloadportage-5e94ead84f5a0b2f2f5ad7f9333bc22b2124abe7.tar.gz
portage-5e94ead84f5a0b2f2f5ad7f9333bc22b2124abe7.tar.bz2
portage-5e94ead84f5a0b2f2f5ad7f9333bc22b2124abe7.zip
Fix 'Unavailable repository' layout.conf path.
-rw-r--r--pym/portage/repository/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 8882b878d..5ce32b072 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -366,6 +366,8 @@ class RepoConfigLoader(object):
master_repos = []
for master_name in repo.masters:
if master_name not in prepos:
+ layout_filename = os.path.join(repo.user_location,
+ "metadata", "layout.conf")
writemsg_level(_("Unavailable repository '%s' " \
"referenced by masters entry in '%s'\n") % \
(master_name, layout_filename),