aboutsummaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-07-10 15:50:36 -0700
committerZac Medico <zmedico@gentoo.org>2012-07-10 15:50:36 -0700
commitfdda543b51dde02483a40b9f867a35fc3521a135 (patch)
tree26f6422a36b261f7900ffc91f1c33f3f35204fe6 /pym
parentemerge: add --complete-graph-if-new-use < y | n > (diff)
downloadportage-fdda543b51dde02483a40b9f867a35fc3521a135.tar.gz
portage-fdda543b51dde02483a40b9f867a35fc3521a135.tar.bz2
portage-fdda543b51dde02483a40b9f867a35fc3521a135.zip
Fix --complete-graph-if-new-use for --autounmask.
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 703720cf0..552d57854 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -4679,8 +4679,8 @@ class depgraph(object):
# to use.mask/force changes in the profile.
if complete_if_new_use and \
(node.iuse.all != inst_pkg.iuse.all or
- node.use.enabled.intersection(node.iuse.all) !=
- inst_pkg.use.enabled.intersection(inst_pkg.iuse.all)):
+ self._pkg_use_enabled(node).intersection(node.iuse.all) !=
+ self._pkg_use_enabled(inst_pkg).intersection(inst_pkg.iuse.all)):
use_change = True
break