diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-16 17:54:52 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-16 17:54:52 +0000 |
commit | 513839d36b5e4d39949425107e583249cc3cd4e7 (patch) | |
tree | a5bcc37fda5efc425379a8fb9b636113d45139b6 /pym/portage | |
parent | 22ef9fa49f63d28cf239b14ec7138fe94299a012 (diff) | |
download | portage-513839d36b5e4d39949425107e583249cc3cd4e7.tar.gz portage-513839d36b5e4d39949425107e583249cc3cd4e7.tar.bz2 portage-513839d36b5e4d39949425107e583249cc3cd4e7.zip |
Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculate
USE when the useflags parameter is not passed in.
svn path=/main/trunk/; revision=9914
Diffstat (limited to 'pym/portage')
-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) |