diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-02-04 16:27:25 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-02-04 16:27:25 -0800 |
commit | 99883fc79e984177d7c5a1e245518f1d76e3e990 (patch) | |
tree | b71aba595d6a5ccdc64c3dc0bfc3a947f1e7725f | |
parent | 6c9cbe5ab35ba4fd666924fbac4ad63d8f820719 (diff) | |
download | portage-99883fc79e984177d7c5a1e245518f1d76e3e990.tar.gz portage-99883fc79e984177d7c5a1e245518f1d76e3e990.tar.bz2 portage-99883fc79e984177d7c5a1e245518f1d76e3e990.zip |
check_required_use: remove obsolete hunk
-rw-r--r-- | pym/portage/dep/__init__.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py index 571f6c1c3..cf83e0a0a 100644 --- 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: |