#NEWLINE# def remove_duplicates( self ) : #NEWLINE# #INDENT# duplicates_list = build_duplicates_list ( self . products_not_removed ) #NEWLINE# tiids_to_remove = tiids_to_remove_from_duplicates_list ( duplicates_list ) #NEWLINE# self . delete_products ( tiids_to_remove ) #NEWLINE# logger . info ( 'removed duplicate tiids from {url_slug} {profile_id}: {tiids_to_remove}' . format ( url_slug = self . url_slug , profile_id = self . id , tiids_to_remove = tiids_to_remove ) ) #NEWLINE# return self