projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53b39d
)
Use a set to optimize containment lookups.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 24 Jun 2007 22:05:52 +0000
(22:05 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 24 Jun 2007 22:05:52 +0000
(22:05 -0000)
svn path=/main/trunk/; revision=7008
pym/emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index b2fb55c86cdfefa21470a6f1e933f5b20918636d..02283459ad52be3f7e0bd12dca02070dfa5d2e5b 100644
(file)
--- a/
pym/emerge/__init__.py
+++ b/
pym/emerge/__init__.py
@@
-2478,7
+2478,7
@@
class depgraph(object):
# files to fetch list - avoids counting a same file twice
# in size display (verbose mode)
myfetchlist=[]
- worldlist =
getlist(self.settings, "world"
)
+ worldlist =
set(getlist(self.settings, "world")
)
for mylist_index in xrange(len(mylist)):
x, depth, ordered = mylist[mylist_index]