#NEWLINE# def _add_overrides( self ) : #NEWLINE# #INDENT# if ( ( self . overrides is not None ) and ( len ( self . overrides ) > 0 ) ) : #NEWLINE# #INDENT# for ( key , value ) in self . overrides . items ( ) : #NEWLINE# #INDENT# if ( value is None ) : #NEWLINE# #INDENT# log . warning ( 'Adding new configuration %s: %s' , key , value ) #NEWLINE# self [ key ] = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( key in key ) : #NEWLINE# #INDENT# log . warning ( 'Overriding %s: %s -> %s' , key , self [ key ] , value ) #NEWLINE# self [ key ] = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# log . warning ( 'Adding new value %s: %s' , key , value ) #NEWLINE# self [ key ] = value