1 |
Author: zmedico |
2 |
Date: 2009-03-30 21:54:39 +0000 (Mon, 30 Mar 2009) |
3 |
New Revision: 13253 |
4 |
|
5 |
Modified: |
6 |
main/trunk/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"]). |
10 |
|
11 |
|
12 |
Modified: main/trunk/pym/_emerge/__init__.py |
13 |
=================================================================== |
14 |
--- main/trunk/pym/_emerge/__init__.py 2009-03-30 19:46:41 UTC (rev 13252) |
15 |
+++ main/trunk/pym/_emerge/__init__.py 2009-03-30 21:54:39 UTC (rev 13253) |
16 |
@@ -6408,7 +6408,7 @@ |
17 |
old_use = vardb.aux_get(cpv, ["USE"])[0].split() |
18 |
old_iuse = set(filter_iuse_defaults( |
19 |
vardb.aux_get(cpv, ["IUSE"])[0].split())) |
20 |
- cur_use = pkgsettings["PORTAGE_USE"].split() |
21 |
+ cur_use = pkg.use.enabled |
22 |
cur_iuse = pkg.iuse.all |
23 |
reinstall_for_flags = \ |
24 |
self._reinstall_for_flags( |