From: Zac Medico Date: Sat, 20 Nov 2010 17:08:17 +0000 (-0800) Subject: Fix use.mask set intersection from previous. X-Git-Tag: v2.1.9.25~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff68d0a5e27267ef80d05c155df00aad268a459d;p=portage.git Fix use.mask set intersection from previous. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 0ffdfe3a4..935b51849 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -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)