def find_data_source_url(a_name, url_prefs):
    """Return the url prefix for data source name, or None."""
    for row in url_prefs:
        if row[0] == a_name:
            return row[1]
    return None