Exemplo n.º 1
0
def load_participants(config):
    """
        load all the participants from the configuration files and
        :return a list of Person objects.
    """

    people = []
    for person in config['PARTICIPANTS']:
        person = Person.construct_email_recipient(person)
        if person is not None:
            people.append(person)
    return people
Exemplo n.º 2
0
def load_participants(config):
    """
        load all the participants from the configuration files and
        :return a list of Person objects.
    """

    people = []
    for person in config['PARTICIPANTS']:
        person = Person.construct_email_recipient(person)
        if person is not None:
            people.append(person)
    return people