#NEWLINE# def replace_file( self , path , content ) : #NEWLINE# #INDENT# LOG . debug ( 'Replace file path=%s' , path ) #NEWLINE# path = self . _canonicalize_path ( path ) #NEWLINE# self . handle . write ( path , content )