aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-07-10 22:50:36 (GMT)
committerZac Medico <zmedico@gentoo.org>2012-07-10 22:50:36 (GMT)
commitfdda543b51dde02483a40b9f867a35fc3521a135 (patch)
tree26f6422a36b261f7900ffc91f1c33f3f35204fe6
parentemerge: add --complete-graph-if-new-use < y | n > (diff)
downloadportage-fdda543b51dde02483a40b9f867a35fc3521a135.zip
portage-fdda543b51dde02483a40b9f867a35fc3521a135.tar.gz
portage-fdda543b51dde02483a40b9f867a35fc3521a135.tar.bz2
Fix --complete-graph-if-new-use for --autounmask.
-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 703720c..552d578 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