#NEWLINE# @ classmethod #NEWLINE# def _clear_quickcaches( cls , owner_id , phone_number , old_owner_id = None , old_phone_number = None ) : #NEWLINE# #INDENT# cls . by_owner_id . clear ( cls , owner_id ) #NEWLINE# if ( old_owner_id and ( old_owner_id != owner_id ) ) : #NEWLINE# #INDENT# cls . by_owner_id . clear ( owner_id , old_owner_id ) #NEWLINE# #UNINDENT# cls . _by_phone . clear ( cls , phone_number ) #NEWLINE# cls . _clear_suffix_lookup_cache ( phone_number ) #NEWLINE# if ( old_phone_number and ( old_phone_number != phone_number ) ) : #NEWLINE# #INDENT# cls . _by_phone . clear ( cls , old_phone_number ) #NEWLINE# cls . _clear_suffix_lookup_cache ( old_phone_number )