#NEWLINE# def save_filecontent( self , filename , fh ) : #NEWLINE# #INDENT# tmp_file = NamedTemporaryFile ( ) #NEWLINE# copyfileobj ( fh , tmp_file ) #NEWLINE# self . distribution . save ( filename , File ( tmp_file ) )