summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/vartree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index bbe3a2181..2b226ffc4 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -147,8 +147,8 @@ class LibraryPackageMap(object):
""" Update the global library->consumer map for the given vdb instance. """
obj_dict = {}
for cpv in self._dbapi.cpv_all():
- needed_list = self._dbapi.aux_get(cpv, ["NEEDED"])[0]
- for l in needed_list.split("\n"):
+ needed_list = grabfile(self._dbapi.getpath(cpv, "NEEDED"))
+ for l in needed_list
mysplit = l.split()
if len(mysplit) < 2:
continue