#NEWLINE# @ log . log_method_call #NEWLINE# def delete_policy_target_postcommit( self , context ) : #NEWLINE# #INDENT# if ( not context . _is_service_target ) : #NEWLINE# #INDENT# mappings = self . _get_ptg_servicechain_mapping ( context . _plugin_context . session , provider_ptg_id = context . current [ 'policy_target_group_id' ] ) #NEWLINE# for mapping in mapping : #NEWLINE# #INDENT# chain_context = self . _get_chain_admin_context ( context . _plugin_context , instance_id = mapping . servicechain_instance_id ) #NEWLINE# self . _notify_sc_plugin_pt_removed ( chain_context , context . current , mapping . servicechain_instance_id )