dbapi: remove redundant missing_enabled/disabled
authorZac Medico <zmedico@gentoo.org>
Tue, 30 Nov 2010 06:16:32 +0000 (22:16 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 4 Dec 2010 06:27:39 +0000 (22:27 -0800)
pym/portage/dbapi/__init__.py

index ae48e53b30fd53889b3e861298f18ed33044721a..7d137b0bbde7e8a60eee08e681f05c0d8c394930 100644 (file)
@@ -155,8 +155,7 @@ class dbapi(object):
                        iuse = frozenset(x.lstrip('+-') for x in iuse.split())
                        missing_iuse = False
                        for x in atom.unevaluated_atom.use.required:
-                               if x not in iuse and x not in atom.use.missing_enabled \
-                                       and x not in atom.use.missing_disabled and not iuse_implicit_match(x):
+                               if x not in iuse and not iuse_implicit_match(x):
                                        missing_iuse = True
                                        break
                        if missing_iuse: