#NEWLINE# def _delete_external_segment( self , plugin_context , es_id ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . _delete_resource ( self . _group_policy_plugin , plugin_context , 'external_segment' , self , False ) #NEWLINE# #UNINDENT# except gp_ext . ExternalSegmentNotFound : #NEWLINE# #INDENT# LOG . warning ( _LW ( 'External Segment %s already deleted' ) , es_id )