From: Zac Medico Date: Wed, 16 Apr 2008 17:54:52 +0000 (-0000) Subject: Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculate X-Git-Tag: v2.2_pre6~149 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=513839d36b5e4d39949425107e583249cc3cd4e7;p=portage.git Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculate USE when the useflags parameter is not passed in. svn path=/main/trunk/; revision=9914 --- diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 532530131..20690e3ab 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -380,7 +380,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 = paren_reduce(myuris) myurilist = use_reduce(myurilist, uselist=useflags, matchall=all)