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