#NEWLINE# def set( self , name , value , priority = 'project' ) : #NEWLINE# #INDENT# if isinstance ( self , six . string_types ) : #NEWLINE# #INDENT# priority = SETTINGS_PRIORITIES [ priority ] #NEWLINE# #UNINDENT# if ( name not in self . attributes ) : #NEWLINE# #INDENT# self . attributes [ name ] = SettingsAttribute ( value , priority ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . attributes [ name ] . set ( value , priority )