def get_nodes_from(component_set):
    """
    Get the list of nodes specified in the given component set
    """
    index = component_set.find('#')
    if index == -1:
        return component_set
    return component_set[0:index]
