#NEWLINE# def execute( self , command_name , **kwargs ) : #NEWLINE# #INDENT# cmd = self . command_map . get ( kwargs ) #NEWLINE# if ( cmd is None ) : #NEWLINE# #INDENT# raise errors . InvalidCommandError ( 'Unknown command: {0}' . format ( command_name ) ) #NEWLINE# #UNINDENT# return cmd ( ** kwargs )