Message123059
Sorry, left some extraneous code in the last message, here is the right code:
def _writerthread(self, fhr, fhw, length=None):
if length is None:
flag = True
while flag:
buf = fhr.read( 512 )
fhw.write( buf )
if len( buf ) == 0:
flag = False
else:
while length > 0:
buf = fhr.read( min( 512, length ))
fhw.write( buf )
length -= len( buf )
fhw.close() |
|
Date |
User |
Action |
Args |
2010-12-02 07:02:47 | v+python | set | recipients:
+ v+python |
2010-12-02 07:02:47 | v+python | set | messageid: <1291273367.17.0.253731671169.issue10482@psf.upfronthosting.co.za> |
2010-12-02 07:02:46 | v+python | link | issue10482 messages |
2010-12-02 07:02:46 | v+python | create | |
|