Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
Author: zmedico
Date: 2008-04-16 17:54:52 +0000 (Wed, 16 Apr 2008)
New Revision: 9914
Modified:
main/trunk/pym/portage/dbapi/porttree.py
Log:
Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculate
USE when the useflags parameter is not passed in.
Modified: main/trunk/pym/portage/dbapi/porttree.py
===================================================================
--- main/trunk/pym/portage/dbapi/porttree.py 2008-04-16 00:19:56 UTC (rev 9913)
+++ main/trunk/pym/portage/dbapi/porttree.py 2008-04-16 17:54:52 UTC (rev 9914)
@@ -380,7 +380,8 @@
(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)
--
gentoo-commits@g.o mailing list
|
|