From: Marius Mauch Date: Sun, 18 Feb 2007 15:38:56 +0000 (-0000) Subject: Move reverse NEEDED cache into CACHE_PATH and use a more descriptive name X-Git-Tag: v2.2_pre1~1688 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7564b8f5b84d6a2dfbad5bd113d43ec39f1ed657;p=portage.git Move reverse NEEDED cache into CACHE_PATH and use a more descriptive name svn path=/main/trunk/; revision=5992 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 2267ca92e..3f8a07a24 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -525,7 +525,7 @@ class vardbapi(dbapi): def get_library_map(self): """ Read the global library->consumer map for this vdb instance """ - mapfilename = self.getpath(".NEEDED") + mapfilename = os.path.join(self.root, CACHE_PATH, "library_consumers") if not os.path.exists(mapfilename): self.update_library_map() rValue = {} @@ -537,7 +537,7 @@ class vardbapi(dbapi): def update_library_map(self): """ Update the global library->consumer map for this vdb instance. """ - mapfilename = self.getpath(".NEEDED") + mapfilename = os.path.join(self.root, CACHE_PATH, "library_consumers") obj_dict = {} for cpv in self.cpv_all(): needed_list = self.aux_get(cpv, ["NEEDED"])[0]