#NEWLINE# def __getattr__( self , name ) : #NEWLINE# #INDENT# with self . lock : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . settings [ name ] #NEWLINE# #UNINDENT# except KeyError as err : #NEWLINE# #INDENT# raise AttributeError ( err )