def closed_issues(issues, after):
    """Yields closed issues (closed after a given datetime) given a list of issues."""
    logging.info('finding closed issues after {}...'.format(after))
    seen = set()
    for issue in issues:
        if closed_issue(issue, after) and issue['title'] not in seen:
            seen.add(issue['title'])
            yield issue