* [gentoo-commits] portage r10490 - main/branches/2.1.2/bin
@ 2008-05-29 23:11 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-05-29 23:11 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2008-05-29 23:11:25 +0000 (Thu, 29 May 2008)
New Revision: 10490
Modified:
main/branches/2.1.2/bin/emerge
Log:
Use a frozenset instead of a list for containment tests. (trunk r10489)
Modified: main/branches/2.1.2/bin/emerge
===================================================================
--- main/branches/2.1.2/bin/emerge 2008-05-29 23:10:33 UTC (rev 10489)
+++ main/branches/2.1.2/bin/emerge 2008-05-29 23:11:25 UTC (rev 10490)
@@ -4807,10 +4807,9 @@
forced_flags.update(pkgsettings.useforce)
forced_flags.update(pkgsettings.usemask)
- cur_iuse = list(pkg.iuse.all)
- cur_iuse.sort()
cur_use = [flag for flag in pkg.use.enabled \
- if flag in cur_iuse]
+ if flag in pkg.iuse.all]
+ cur_iuse = sorted(pkg.iuse.all)
if myoldbest and myinslotlist:
previous_cpv = myoldbest[0]
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-29 23:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 23:11 [gentoo-commits] portage r10490 - main/branches/2.1.2/bin Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox