Jose' Matos wrote: >> It seems that 'new.close()' leaves both 'new' and 'tmp' in a closed >> state. > > No the problem is the previous copyfileobj call, we need to > "rewind" > the tmp file to write, after copying from new to tmp the tmp pointer > is at the end of file. Just like a tape. ;-) > > See if the next patch fixes it.
Works for me. -- Angus