#NEWLINE# def get( self , state , name , raw = False ) : #NEWLINE# #INDENT# registry = self . _get_registry ( raw ) #NEWLINE# try : #NEWLINE# #INDENT# transform = registry [ state ] [ name ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# err_msg = ( 'Transform (%s) not registered for %s' % ( name , state ) ) #NEWLINE# raise KeyError ( err_msg ) #NEWLINE# #UNINDENT# return transform