def strip_and_uniq(tab):
    """Strip every element of a list and keep a list of ordered unique values

    :param tab: list to strip
    :type tab: list
    :return: stripped list with unique values
    :rtype: list
    """
    _list = []
    for elt in tab:
        val = elt.strip()
        if val and val not in _list:
            _list.append(val)
    return _list
Strip every element of a list and keep a list of ordered unique values

    :param tab: list to strip
    :type tab: list
    :return: stripped list with unique values
    :rtype: list