projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fcd6fa
)
Remove from list by index, not search.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Feb 2011 06:28:35 +0000
(22:28 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 4 Feb 2011 06:33:37 +0000
(22:33 -0800)
pym/portage/dep/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep/__init__.py
b/pym/portage/dep/__init__.py
index 68e628b3764564c7516b4c9525a3348d0af5cd81..62e96d29a9aaeaa4ff8489aeee52ed0c634cc5c2 100644
(file)
--- a/
pym/portage/dep/__init__.py
+++ b/
pym/portage/dep/__init__.py
@@
-2217,7
+2217,7
@@
def check_required_use(required_use, use, iuse_match):
node._satisfied = satisfied
if node._parent._operator not in ("||", "^^"):
offset = node._parent._children.index(node)
- node._parent._children.
remove(node
)
+ node._parent._children.
pop(offset
)
for i, child in enumerate(node._children):
node._parent._children.insert(offset + i, child)
if isinstance(child, _RequiredUseBranch):