Emerge: Plotting build dependencies graph, emerge -k/-j

Sascha L. Teichmann sascha.teichmann at intevation.de
Thu Jul 22 15:49:01 CEST 2010


Am 22.07.2010 13:30, schrieb Ralf Habacker:
> [...]
>> I forgot to mention. This makes the portage loading compatible
>> with GNU/Linux (my main working system) as well. The
>> imp.get_suffixes() returns different lists on the different systems.
>> Checking for the explicit position of '.py' ensures that it works
>> on both platforms.
>>   
> Thanks for this explanation - there is still a TODO note in the related 
> code part: Could this be removed ?
> 
> Just one additional question - I guess I can uncompress the for loop to 
> the following code snippet:
> 
>         for idx, suff in enumerate(suff_indices):
>             if suff[0] == ".py": 
> 		suff_idx = idx
> 		break
>

I've simplified the code now. The TODO is now removed, too.

> Ralf

- Sascha


More information about the Kde-windows mailing list