From: Zac Medico Date: Sun, 12 Apr 2009 03:30:53 +0000 (-0000) Subject: Bug #265768 - When initializing the eclass cache, use the correct location. X-Git-Tag: v2.2_rc30~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=052a7d70b6f8b4d467fca48aba43be74fdd1506f;p=portage.git Bug #265768 - When initializing the eclass cache, use the correct location. svn path=/main/trunk/; revision=13328 --- 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())