From 513839d36b5e4d39949425107e583249cc3cd4e7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 16 Apr 2008 17:54:52 +0000 Subject: Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculate USE when the useflags parameter is not passed in. svn path=/main/trunk/; revision=9914 --- pym/portage/dbapi/porttree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22