'filter out any dupes.'

def _append_unique_str(self, lst, item):

    if (type(item) != type('')):
        msg2 = ('%s' % item)
        raise 'Invalid    item    type    (should    be    string)', msg2
    if (item not in lst):
        lst.append(item)
    return lst
