def __virtual__():
    if not salt.utils.is_windows():
        return (False, 'Cannot load module chocolatey: Chocolatey requires Windows')
    elif __grains__['osrelease'] in ('XP', '2003Server'):
        return (False, 'Cannot load module chocolatey: Chocolatey requires Windows Vista or later')
    return 'chocolatey'
Set the label on multiple torrents.
dataset/ETHPy150Open saltstack/salt/salt/modules/chocolatey.py/__virtual__--crossover with--dataset/ETHPy150Open v1k45/python-qBittorrent/qbittorrent/client.py/Client.set_label