summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-03 14:11:07 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-03 14:11:07 -0700
commitd0204abde7fef329e45f0db78b3e7cff8fca0465 (patch)
treee771fc74636d7db8ff31985391057a9f15739764
parent71b6461faaa6ec66232ecfba98b13c12c94b6f17 (diff)
downloadportage-d0204abde7fef329e45f0db78b3e7cff8fca0465.tar.gz
portage-d0204abde7fef329e45f0db78b3e7cff8fca0465.tar.bz2
portage-d0204abde7fef329e45f0db78b3e7cff8fca0465.zip
Account for package.use.force/mask in previous commit.
-rw-r--r--pym/_emerge/depgraph.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index e90d273d1..5f406c878 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -5203,8 +5203,10 @@ class depgraph(object):
affecting_use.update(extract_affecting_use(dep_str, atom))
#Don't show flags as 'affecting' if the user can't change them,
- affecting_use.difference_update(node.root_config.settings.usemask, \
- node.root_config.settings.useforce)
+ pkgsettings = self._frozen_config.pkgsettings[node.root]
+ pkgsettings.setcpv(node)
+ affecting_use.difference_update(pkgsettings.usemask, \
+ pkgsettings.useforce)
pkg_name = node.cpv
if affecting_use: