summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-10-11 08:14:31 +0000
committerMarius Mauch <genone@gentoo.org>2007-10-11 08:14:31 +0000
commite83b1725a9fb2eacc13e50a510aec77533ff3745 (patch)
tree4ce3c82d190e82311e9fa8c9978622ad808587f9
parentc496b0c5bead531a859b6114d89aa2cbcd60d3d4 (diff)
downloadportage-e83b1725a9fb2eacc13e50a510aec77533ff3745.tar.gz
portage-e83b1725a9fb2eacc13e50a510aec77533ff3745.tar.bz2
portage-e83b1725a9fb2eacc13e50a510aec77533ff3745.zip
Do not use aux_get to parse the NEEDED file as we need to distinguish spaces and newlines
svn path=/main/trunk/; revision=8048
-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