#NEWLINE# def run_subcommand( self , argv ) : #NEWLINE# #INDENT# subcommand = self . command_manager . find_command ( argv ) #NEWLINE# ( cmd_factory , cmd_name , sub_argv ) = subcommand #NEWLINE# cmd = cmd_factory ( self , self . options ) #NEWLINE# try : #NEWLINE# #INDENT# self . prepare_to_run_command ( cmd ) #NEWLINE# full_name = ( cmd_name if self . interactive_mode else ' ' . join ( [ self . NAME , cmd_name ] ) ) #NEWLINE# cmd_parser = cmd . get_parser ( full_name ) #NEWLINE# return run_command ( cmd , cmd_parser , sub_argv ) #NEWLINE# #UNINDENT# except SystemExit : #NEWLINE# #INDENT# print ( ( _ ( "Try 'neutron help %s' for more information." ) % cmd_name ) , file = sys . stderr ) #NEWLINE# raise #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# if ( self . options . verbose_level >= self . DEBUG_LEVEL ) : #NEWLINE# #INDENT# self . log . exception ( '%s' , subcommand ) #NEWLINE# raise #NEWLINE# #UNINDENT# self . log . error ( '%s' , e ) #NEWLINE# #UNINDENT# return 1