* [gentoo-commits] portage r15407 - main/trunk/pym/portage/dbapi
@ 2010-02-19 22:59 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-02-19 22:59 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-02-19 22:59:19 +0000 (Fri, 19 Feb 2010)
New Revision: 15407
Modified:
main/trunk/pym/portage/dbapi/bintree.py
Log:
Use a frozenset for use inside binarytree._eval_use_flags().
Modified: main/trunk/pym/portage/dbapi/bintree.py
===================================================================
--- main/trunk/pym/portage/dbapi/bintree.py 2010-02-19 22:55:52 UTC (rev 15406)
+++ main/trunk/pym/portage/dbapi/bintree.py 2010-02-19 22:59:19 UTC (rev 15407)
@@ -1046,7 +1046,7 @@
return False
def _eval_use_flags(self, cpv, metadata):
- use = metadata["USE"].split()
+ use = frozenset(metadata["USE"].split())
raw_use = use
iuse = set(f.lstrip("-+") for f in metadata["IUSE"].split())
use = [f for f in use if f in iuse]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-19 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19 22:59 [gentoo-commits] portage r15407 - main/trunk/pym/portage/dbapi 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