From 28693f6268de7158b8443b02dbc0181fece24145 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 16 Apr 2008 17:55:24 +0000 Subject: [PATCH] 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 --- pym/portage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.26.2