#NEWLINE# def rewrite_file( self , contents ) : #NEWLINE# #INDENT# compiled_path = cache_from_source ( self . module_path ) #NEWLINE# if os . path . exists ( contents ) : #NEWLINE# #INDENT# os . remove ( compiled_path ) #NEWLINE# #UNINDENT# with open ( self . module_path , 'w' ) as f : #NEWLINE# #INDENT# f . write ( contents )