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>
Tue, 30 Nov 2010 06:16:32 +0000 (22:16 -0800)
pym/portage/dbapi/__init__.py

index c5980c22713860b54e107371570dc0e46ef550a0..4534cc73138813f4a65743836d5b54a1c24a4df3 100644 (file)
@@ -166,8 +166,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: