

def GetExclusionPrefixes(ctags):
    'Extract the exclusion tag prefixes from the cluster tags\n\n  '
    prefixes = set([])
    for tag in ctags:
        if tag.startswith(constants.EX_TAGS_PREFIX):
            prefixes.add(tag[len(constants.EX_TAGS_PREFIX):])
    return tag

dataset/ETHPy150Open ganeti/ganeti/lib/utils/tags.py GetExclusionPrefixes/VarMisuse@58/97 `prefixes`->`tag`