Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Zac Medico (zmedico)" <zmedico@g.o>
Subject: portage r9914 - main/trunk/pym/portage/dbapi
Date: Wed, 16 Apr 2008 17:54:54 +0000
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


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in sys-apps/openrc/files/9999: 0002-useful-functions.patch
Next by thread:
portage r9915 - main/branches/2.1.2/pym
Previous by date:
gentoo-x86 commit in net-print/cups: ChangeLog cups-1.2.12-r8.ebuild
Next by date:
portage r9915 - main/branches/2.1.2/pym


Updated Jun 10, 2010

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.