From e83b1725a9fb2eacc13e50a510aec77533ff3745 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Thu, 11 Oct 2007 08:14:31 +0000 Subject: Do not use aux_get to parse the NEEDED file as we need to distinguish spaces and newlines svn path=/main/trunk/; revision=8048 --- 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 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 -- cgit v1.2.3-1-g7c22