projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb79507
)
Use a frozenset instead of a list for containment tests. (trunk r10489)
author
Zac Medico
<zmedico@gentoo.org>
Thu, 29 May 2008 23:11:25 +0000
(23:11 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 29 May 2008 23:11:25 +0000
(23:11 -0000)
svn path=/main/branches/2.1.2/; revision=10490
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 054949bf9f749caaca7ab7dbbaecd022d9b61e22..5ab727cbf403e46fb26c31023c00da8b63c17936 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-4807,10
+4807,9
@@
class depgraph(object):
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]