Bug #265768 - When initializing the eclass cache, use the correct location.
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:08:01 +0000 (07:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 07:08:01 +0000 (07:08 -0000)
(trunk r13328)

svn path=/main/branches/2.1.6/; revision=13493

pym/portage/cache/metadata.py

index e3f6fc57121a87bff42fdfa47c1ed06959fa4ba0..e988451f4a163b5630da7910eab7f0427489ebe4 100644 (file)
@@ -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())