def suppress_no_delim_lines(lines, delim):
    """Discard `lines` that do not contain `delim`.

    Parameters
    ----------
    lines : iterable
        Provides line number (1-based) and line (str).
    delim : str
    """
    for line in lines:
        if delim not in line[1]:
            continue
        yield line
