'The received encoded_tsr_ids, repo_info_dicts, and
tool_panel_section_keys are 3 lists that contain associated elements
at each location in the list.  This method will return the elements
from repo_info_dicts and tool_panel_section_keys associated with the
received encoded_tsr_id by determining its location in the received
encoded_tsr_ids list.'

def get_repository_components_for_installation(self, encoded_tsr_id, encoded_tsr_ids, repo_info_dicts, tool_panel_section_keys):

    for (tsr_id, repo_info_dict, tool_panel_section_key) in zip(encoded_tsr_ids, repo_info_dicts, tool_panel_section_keys):
        if (tsr_id == encoded_tsr_id):
            return (repo_info_dict, tool_panel_section_key)
    return (None, None)
