summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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())