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>
Sat, 20 Nov 2010 17:08:17 +0000 (09:08 -0800)
pym/_emerge/depgraph.py

index cf1addf6a528c97fa03967f671adbf6b71da4575..a93062583c13c0a2f99da16d3d35a50265bbc566 100644 (file)
@@ -2991,7 +2991,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)