On 5/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> for fn in cachefilesSet:
...
> this code stops at the 473th file instead of reaching 1398

This is often caused by mutating the object you are iterating over
inside the for loop.  I didn't see anything in the code you posted
that would do that, but you also didn't show us all of your code.  Are
you doing anything that would change cachefilesSet inside your for
loop? If so, try looping over a copy of your set instead:

from copy import copy
for fn in copy(cachefilesSet):
    ...

-- 
Jerry
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to