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.2.0_alpha5~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ea68a918a543023b79fac702783966d3bce623c7;p=portage.git Fix use.mask set intersection from previous. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index cf1addf6a..a93062583 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -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)