#NEWLINE# def delete_execution( self , execution ) : #NEWLINE# #INDENT# 'Deletes an execution.\n\n        ' #NEWLINE# check_resource_type ( execution , EXECUTION_PATH , message = 'An execution id is needed.' ) #NEWLINE# execution_id = get_execution_id ( execution_id ) #NEWLINE# if execution_id : #NEWLINE# #INDENT# return self . _delete ( ( '%s%s' % ( self . url , execution_id ) ) )