From ea68a918a543023b79fac702783966d3bce623c7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 20 Nov 2010 09:08:17 -0800 Subject: [PATCH] Fix use.mask set intersection from previous. --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2