#NEWLINE# def process_deletes( self , uowcommit , states ) : #NEWLINE# #INDENT# if ( self . post_update and ( not self . cascade . delete_orphan ) and ( not ( self . passive_deletes == 'all' ) ) ) : #NEWLINE# #INDENT# for state in states : #NEWLINE# #INDENT# self . _synchronize ( state , None , None , True , uowcommit ) #NEWLINE# if ( state and self . post_update ) : #NEWLINE# #INDENT# history = uowcommit . get_attribute_history ( state , self . key , self . _passive_delete_flag ) #NEWLINE# if history : #NEWLINE# #INDENT# self . _post_update ( history , uowcommit , history . sum ( ) , is_m2o_delete = True )