def __init__(self, key, value):
        # remove whitespace and commas
        value = "".join(value.strip().replace(',', '').split())
        self.ftypes = set()
        for ftype in value:
            try:
                self.ftypes.add(_FILE_TYPES[ftype])
            except __HOLE__:
                raise ValueError('invalid file type "{0}"'.format(ftype))
dataset/ETHPy150Open saltstack/salt/salt/utils/find.py/TypeOption.__init__