#NEWLINE# def _get_data_file( self , filename ) : #NEWLINE# #INDENT# 'Get a temp data file for a file.' #NEWLINE# if ( not ( filename in self . data_files ) ) : #NEWLINE# #INDENT# f = tempfile . TemporaryFile ( ) #NEWLINE# self . data_files [ filename ] = f #NEWLINE# return f #NEWLINE# #UNINDENT# return self . data_files [ filename ]