diff options
-rw-r--r-- | pym/portage/dbapi/porttree.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |