summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-11-20 09:08:17 -0800
committerZac Medico <zmedico@gentoo.org>2010-11-20 09:08:17 -0800
commitea68a918a543023b79fac702783966d3bce623c7 (patch)
tree57f36a305226b5ca28d8eb0083928baea1854519
parent31edc4fcbb9138e523d09db2844c5835577a831b (diff)
downloadportage-ea68a918a543023b79fac702783966d3bce623c7.tar.gz
portage-ea68a918a543023b79fac702783966d3bce623c7.tar.bz2
portage-ea68a918a543023b79fac702783966d3bce623c7.zip
Fix use.mask set intersection from previous.
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
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)