1 |
On 09/16/2014 11:17 AM, Bertrand Simonnet wrote: |
2 |
> I moved the profile attributes detection logic into the python side as |
3 |
> suggested (much cleaner). |
4 |
|
5 |
Thanks, that's better. I've got a couple more issues though: |
6 |
|
7 |
1) Like global functions, global variables should also be unset in |
8 |
__save_ebuild_env. So, we should unset PORTAGE_PROFILE_ATTRIBUTES there. |
9 |
|
10 |
2) Instead of having _get_profile_attributes read the layout.conf files |
11 |
directly, it would be nicer if we could integrated it with the |
12 |
LocationsManager layout.conf parsing. For example, see the |
13 |
intersecting_repos code inside the _addProfile method. |
14 |
-- |
15 |
Thanks, |
16 |
Zac |