Changeset 2294


Ignore:
Timestamp:
Mar 2, 2009 11:48:51 PM (9 years ago)
Author:
hazmat
Message:

use named temporary files, transform compatiblity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ore.svn/trunk/src/ore/svn/file.py

    r2290 r2294  
    343343        only supports reads. 
    344344        """ 
    345         tfile = tempfile.TemporaryFile() 
     345        tfile = tempfile.NamedTemporaryFile() 
    346346        self.getContents( writer=tfile, CHUNK_SIZE=65536 ) 
    347347        tfile.seek(0) # be kind, please rewind 
Note: See TracChangeset for help on using the changeset viewer.