def get_table_row(table, td_text):
    """ Find a row in a table that has td_text as one column's text """
    td = table.find('td', string=td_text)

    if td is None:
        return None

    return td.find_parent('tr')