diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-03 14:11:07 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-03 14:11:07 -0700 |
commit | d0204abde7fef329e45f0db78b3e7cff8fca0465 (patch) | |
tree | e771fc74636d7db8ff31985391057a9f15739764 | |
parent | 71b6461faaa6ec66232ecfba98b13c12c94b6f17 (diff) | |
download | portage-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.py | 6 |
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: |