summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-30 21:54:39 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-30 21:54:39 +0000
commitf912cb66572425a38c7c448aac564eefc0fac89d (patch)
tree33a3f50dad1f0ea7f9222d3a81ffcbab47386137
parentb382d5ff6f7226e711f4d07528b78b7ac0dc3228 (diff)
downloadportage-f912cb66572425a38c7c448aac564eefc0fac89d.tar.gz
portage-f912cb66572425a38c7c448aac564eefc0fac89d.tar.bz2
portage-f912cb66572425a38c7c448aac564eefc0fac89d.zip
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
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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(