#NEWLINE# def MultiMarkForDeletion( self , urns ) : #NEWLINE# #INDENT# 'Marks multiple urns (and their children) for deletion.' #NEWLINE# all_children_urns = self . RecursiveMultiListChildren ( urns ) #NEWLINE# urns += list ( itertools . chain . from_iterable ( all_children_urns . values ( ) ) ) #NEWLINE# for urn in urns : #NEWLINE# #INDENT# self . _urns_for_deletion . add ( urn ) #NEWLINE# #UNINDENT# objs = self . MultiOpen ( urns ) #NEWLINE# for obj in self : #NEWLINE# #INDENT# obj . OnDelete ( deletion_pool = self )