From: Zac Medico Date: Tue, 10 Jul 2012 22:50:36 +0000 (-0700) Subject: Fix --complete-graph-if-new-use for --autounmask. X-Git-Tag: v2.2.0_alpha117~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fdda543b51dde02483a40b9f867a35fc3521a135;p=portage.git Fix --complete-graph-if-new-use for --autounmask. --- 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