[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Maintainer application



Anthony Towns wrote:
> On Thu, Jan 17, 2008 at 08:25:05PM -0600, Raphael Geissert wrote:
>> # do not process the cache file
>> -                    if file == 'index.cache.bz2': continue
>> +                    if file.split('/')[file.count('/')] == 'index.cache.bz2': continue
> 
> Uh,
> file.split('/')[-1] == 'index.chache.bz2'
> would probably be better.

Although I'll try to fix the whole thing by replacing the build system it is
nice to know python does support that (I didn't want to trust anything
after having to deal with a rsplit behaving exactly has split) so thank
you.

> 
> Cheers,
> aj

Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Reply to: