#NEWLINE# def write_config( self ) : #NEWLINE# #INDENT# os . rename ( USER_CONFIG_FILE , ( USER_CONFIG_FILE + '.tmp' ) ) #NEWLINE# with open ( USER_CONFIG_FILE , 'wb' ) as f : #NEWLINE# #INDENT# f . write ( yaml . dump ( self . user_defined_config ) )