1 |
Author: zmedico |
2 |
Date: 2009-04-30 06:49:12 +0000 (Thu, 30 Apr 2009) |
3 |
New Revision: 13432 |
4 |
|
5 |
Modified: |
6 |
main/branches/2.1.6/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Fix --newuse code to compare installed package USE to the USE that a binary |
9 |
package was built with (instead of config["PORTAGE_USE"]). (trunk r13253) |
10 |
|
11 |
Modified: main/branches/2.1.6/pym/_emerge/__init__.py |
12 |
=================================================================== |
13 |
--- main/branches/2.1.6/pym/_emerge/__init__.py 2009-04-30 06:48:59 UTC (rev 13431) |
14 |
+++ main/branches/2.1.6/pym/_emerge/__init__.py 2009-04-30 06:49:12 UTC (rev 13432) |
15 |
@@ -6392,7 +6392,7 @@ |
16 |
old_use = vardb.aux_get(cpv, ["USE"])[0].split() |
17 |
old_iuse = set(filter_iuse_defaults( |
18 |
vardb.aux_get(cpv, ["IUSE"])[0].split())) |
19 |
- cur_use = pkgsettings["PORTAGE_USE"].split() |
20 |
+ cur_use = pkg.use.enabled |
21 |
cur_iuse = pkg.iuse.all |
22 |
reinstall_for_flags = \ |
23 |
self._reinstall_for_flags( |