From: Zac Medico Date: Thu, 30 Apr 2009 07:08:01 +0000 (-0000) Subject: Bug #265768 - When initializing the eclass cache, use the correct location. X-Git-Tag: v2.1.6.12~80 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eeb54fe771ca92848f9cb482110ac187dbce60c1;p=portage.git Bug #265768 - When initializing the eclass cache, use the correct location. (trunk r13328) svn path=/main/branches/2.1.6/; revision=13493 --- 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())