Fix use.mask set intersection from previous.
authorZac Medico <zmedico@gentoo.org>
Sat, 20 Nov 2010 17:08:17 +0000 (09:08 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 24 Nov 2010 02:06:31 +0000 (18:06 -0800)
pym/_emerge/depgraph.py

index 0ffdfe3a4e39c597e4ba0ab405392362bc99c1b0..935b51849eb0ed9d40609e89caab443458fb1eed 100644 (file)
@@ -2961,7 +2961,7 @@ class depgraph(object):
                                                                if need_enabled:
                                                                        if not pkg.built:
                                                                                pkgsettings.setcpv(pkg)
-                                                                               if not pkgsettings.usemask.difference(need_enabled):
+                                                                               if not pkgsettings.usemask.intersection(need_enabled):
                                                                                        # Be careful about masked flags, since they
                                                                                        # typically aren't adjustable by the user.
                                                                                        packages_with_invalid_use_config.append(pkg)