From: Zac Medico Date: Wed, 16 Apr 2008 17:55:24 +0000 (-0000) Subject: Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculate X-Git-Tag: v2.1.5~166 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=28693f6268de7158b8443b02dbc0181fece24145;p=portage.git Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculate USE when the useflags parameter is not passed in. (trunk r9914) svn path=/main/branches/2.1.2/; revision=9915 --- diff --git a/pym/portage.py b/pym/portage.py index 70a6c0dd9..43226d450 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7456,7 +7456,8 @@ class portdbapi(dbapi): (mypkg, eapi.lstrip("-"))) if useflags is None: - useflags = mysettings["USE"].split() + mysettings.setcpv(mypkg, mydb=self) + useflags = mysettings["PORTAGE_USE"].split() myurilist = portage_dep.paren_reduce(myuris) myurilist = portage_dep.use_reduce(myurilist,uselist=useflags,matchall=all)