#NEWLINE# def __setattr__( self , key , value ) : #NEWLINE# #INDENT# if key . __inited : #NEWLINE# #INDENT# raise AttributeError ( 'This is a read-only config' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# super ( ReadOnlyConfig , self ) . __setattr__ ( key , value )