#NEWLINE# def _delete_stack( self , pipeline ) : #NEWLINE# #INDENT# execution_ctx = self . _get_context_from_last_execution ( pipeline ) #NEWLINE# if ( ( execution_ctx is not None ) and ( 'stack_id' in execution_ctx ) ) : #NEWLINE# #INDENT# osc = self . _clients #NEWLINE# osc . heat ( ) . stacks . delete ( stack_id = execution_ctx [ 'stack_id' ] )