def uninteresting_emails_filter(matches): """ Given an iterable of emails matches, return an iterable where common uninteresting emails have been removed. """ for key, email, line, lineno in matches: good_email = finder_data.classify_email(email) if not good_email: continue yield key, email, line, lineno
def uninteresting_emails_filter(matches): """ Given an iterable of emails matches, return an iterable where common uninteresting emails have been removed. """ for key, email, line, lineno in matches: good_email = finder_data.classify_email(email) if not good_email: continue yield key, email, line, lineno