From f912cb66572425a38c7c448aac564eefc0fac89d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 30 Mar 2009 21:54:39 +0000 Subject: 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 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/_emerge') 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( -- cgit v1.2.3-1-g7c22