#NEWLINE# def OnDelete( self , deletion_pool = None ) : #NEWLINE# #INDENT# super ( GRRHunt , self ) . OnDelete ( deletion_pool = deletion_pool ) #NEWLINE# children_urns = deletion_pool . ListChildren ( self . urn ) #NEWLINE# clients_ids = [ ] #NEWLINE# for urn in children_urns : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# clients_ids . append ( rdf_client . ClientURN ( urn . Basename ( ) ) ) #NEWLINE# #UNINDENT# except type_info . TypeValueError : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# #UNINDENT# symlinks_urns = [ self . _ClientSymlinkUrn ( client_id ) for client_id in clients_ids ] #NEWLINE# deletion_pool . MultiMarkForDeletion ( symlinks_urns )