From ff68d0a5e27267ef80d05c155df00aad268a459d 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 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) -- 2.26.2