Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/dep/
Date: Sat, 05 Feb 2011 00:28:00
Message-Id: 99883fc79e984177d7c5a1e245518f1d76e3e990.zmedico@gentoo
1 commit: 99883fc79e984177d7c5a1e245518f1d76e3e990
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 5 00:27:25 2011 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 5 00:27:25 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=99883fc7
7
8 check_required_use: remove obsolete hunk
9
10 ---
11 pym/portage/dep/__init__.py | 9 ---------
12 1 files changed, 0 insertions(+), 9 deletions(-)
13
14 diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py
15 index 571f6c1..cf83e0a 100644
16 --- a/pym/portage/dep/__init__.py
17 +++ b/pym/portage/dep/__init__.py
18 @@ -2253,15 +2253,6 @@ def check_required_use(required_use, use, iuse_match):
19 node._parent._children.append(child)
20 if isinstance(child, _RequiredUseBranch):
21 child._parent = node._parent
22 - else:
23 - for index, child in enumerate(node._children):
24 - if isinstance(child, _RequiredUseBranch) and \
25 - child._operator is None and \
26 - len(child._children) == 1:
27 - child = child._children[0]
28 - node._children[index] = child
29 - if isinstance(child, _RequiredUseBranch):
30 - child._parent = node
31
32 node = node._parent
33 else: