diff options
author | Marius Mauch <genone@gentoo.org> | 2007-02-18 15:38:56 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2007-02-18 15:38:56 +0000 |
commit | 7564b8f5b84d6a2dfbad5bd113d43ec39f1ed657 (patch) | |
tree | 69532dc7b07baef81abf0e7f92f6d8596d16aeba | |
parent | c547a0fa4d47c0454cbe30c1831382427451b3ef (diff) | |
download | portage-7564b8f5b84d6a2dfbad5bd113d43ec39f1ed657.tar.gz portage-7564b8f5b84d6a2dfbad5bd113d43ec39f1ed657.tar.bz2 portage-7564b8f5b84d6a2dfbad5bd113d43ec39f1ed657.zip |
Move reverse NEEDED cache into CACHE_PATH and use a more descriptive name
svn path=/main/trunk/; revision=5992
-rw-r--r-- | pym/portage/dbapi/vartree.py | 4 |
1 files changed, 2 insertions, 2 deletions
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] |