summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-12 03:30:53 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-12 03:30:53 +0000
commit052a7d70b6f8b4d467fca48aba43be74fdd1506f (patch)
treed6cde55cd060039695ecd981ebfea7b72331e7e8
parent3fdb4663ebdb0653a0dae919442b2d9948647fbe (diff)
downloadportage-052a7d70b6f8b4d467fca48aba43be74fdd1506f.tar.gz
portage-052a7d70b6f8b4d467fca48aba43be74fdd1506f.tar.bz2
portage-052a7d70b6f8b4d467fca48aba43be74fdd1506f.zip
Bug #265768 - When initializing the eclass cache, use the correct location.
svn path=/main/trunk/; revision=13328
-rw-r--r--pym/portage/cache/metadata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/cache/metadata.py b/pym/portage/cache/metadata.py
index e3f6fc571..e988451f4 100644
--- a/pym/portage/cache/metadata.py
+++ b/pym/portage/cache/metadata.py
@@ -54,7 +54,7 @@ class database(flat_hash.database):
if "_eclasses_" not in d:
if "INHERITED" in d:
if self.ec is None:
- self.ec = portage.eclass_cache.cache(self.location)
+ self.ec = portage.eclass_cache.cache(self.location[:-15])
try:
d["_eclasses_"] = self.ec.get_eclass_data(
d["INHERITED"].split())