def _fixup_cc_list(cc_value):
    cclist = []
    for cc in re.split(r'[;,\s]+', cc_value):
        if cc and cc not in cclist:
            cclist.append(cc)
    return ', '.join(cclist)
Fix up cc list separators and remove duplicates.
dataset/ETHPy150Open edgewall/trac/trac/ticket/model.py/_fixup_cc_list