From: Zac Medico Date: Mon, 30 Mar 2009 21:54:39 +0000 (-0000) Subject: Fix --newuse code to compare installed package USE to the USE that a binary X-Git-Tag: v2.2_rc29~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f912cb66572425a38c7c448aac564eefc0fac89d;p=portage.git Fix --newuse code to compare installed package USE to the USE that a binary package was built with (instead of config["PORTAGE_USE"]). svn path=/main/trunk/; revision=13253 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 2f28b4e17..229fa57b6 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -6408,7 +6408,7 @@ class depgraph(object): old_use = vardb.aux_get(cpv, ["USE"])[0].split() old_iuse = set(filter_iuse_defaults( vardb.aux_get(cpv, ["IUSE"])[0].split())) - cur_use = pkgsettings["PORTAGE_USE"].split() + cur_use = pkg.use.enabled cur_iuse = pkg.iuse.all reinstall_for_flags = \ self._reinstall_for_flags(