def str_space_to_int_list(string):
    """ Converts a spaced string in a list of integer.

    The string consists of the succession of the elements of the list separated by spaces.

    :param string: the string to convert.
    :return: the corresponding list of integer.
    """
    string_list = string.split(" ")
    int_list = []
    if string_list != '':
        for element in string_list:
            if element != '':
                int_list.append(int(element))
    return int_list