projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c9cbe5
)
check_required_use: remove obsolete hunk
author
Zac Medico
<zmedico@gentoo.org>
Sat, 5 Feb 2011 00:27:25 +0000
(16:27 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 5 Feb 2011 00:27:25 +0000
(16:27 -0800)
pym/portage/dep/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/dep/__init__.py
b/pym/portage/dep/__init__.py
index 571f6c1c3447ee9983eb7b46b1d0368fcfa02377..cf83e0a0a4e93897632db0462695feee6a55db08 100644
(file)
--- a/
pym/portage/dep/__init__.py
+++ b/
pym/portage/dep/__init__.py
@@
-2253,15
+2253,6
@@
def check_required_use(required_use, use, iuse_match):
node._parent._children.append(child)
if isinstance(child, _RequiredUseBranch):
child._parent = node._parent
- else:
- for index, child in enumerate(node._children):
- if isinstance(child, _RequiredUseBranch) and \
- child._operator is None and \
- len(child._children) == 1:
- child = child._children[0]
- node._children[index] = child
- if isinstance(child, _RequiredUseBranch):
- child._parent = node
node = node._parent
else: