#NEWLINE# def run( self ) : #NEWLINE# #INDENT# action = self . _get_action_instance ( ) #NEWLINE# output = action . run ( ** self . _parameters ) #NEWLINE# sys . stdout . write ( ACTION_OUTPUT_RESULT_DELIMITER ) #NEWLINE# print_output = None #NEWLINE# try : #NEWLINE# #INDENT# print_output = json . dumps ( output ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# print_output = str ( output ) #NEWLINE# #UNINDENT# sys . stdout . write ( ( print_output + '\n' ) ) #NEWLINE# sys . stdout . write ( ACTION_OUTPUT_RESULT_DELIMITER )