projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055d204
)
Use a frozenset for use inside binarytree._eval_use_flags().
v2.2_rc63
author
Zac Medico
<zmedico@gentoo.org>
Fri, 19 Feb 2010 22:59:19 +0000
(22:59 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 19 Feb 2010 22:59:19 +0000
(22:59 -0000)
svn path=/main/trunk/; revision=15407
pym/portage/dbapi/bintree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/bintree.py
b/pym/portage/dbapi/bintree.py
index ce162fccb0e08d120ace2f207cbf8f437903d110..4420b728b26cab26de79391e01844553b0d3c10f 100644
(file)
--- a/
pym/portage/dbapi/bintree.py
+++ b/
pym/portage/dbapi/bintree.py
@@
-1046,7
+1046,7
@@
class binarytree(object):
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]