#NEWLINE# def get_new_command( command ) : #NEWLINE# #INDENT# broken_cmd = re . findall ( 'tsuru: "([^"]*)" is not a tsuru command' , command . stderr ) [ 0 ] #NEWLINE# return replace_command ( command , broken_cmd , get_all_matched_commands ( command . stderr ) )