From 7564b8f5b84d6a2dfbad5bd113d43ec39f1ed657 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Sun, 18 Feb 2007 15:38:56 +0000 Subject: Move reverse NEEDED cache into CACHE_PATH and use a more descriptive name svn path=/main/trunk/; revision=5992 --- pym/portage/dbapi/vartree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym') 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] -- cgit v1.2.3-1-g7c22