From: Marius Mauch Date: Thu, 11 Oct 2007 08:14:31 +0000 (-0000) Subject: Do not use aux_get to parse the NEEDED file as we need to distinguish spaces and... X-Git-Tag: v2.2_pre1~649 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e83b1725a9fb2eacc13e50a510aec77533ff3745;p=portage.git Do not use aux_get to parse the NEEDED file as we need to distinguish spaces and newlines svn path=/main/trunk/; revision=8048 --- 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