#NEWLINE# def retrieve( self , name ) : #NEWLINE# #INDENT# cmd_klass = self . _klasses . get ( name , None ) #NEWLINE# if ( cmd_klass is None ) : #NEWLINE# #INDENT# raise ValueError ( ( 'No command class registered for name %r' % cmd_klass ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return cmd_klass