def _yes(context):
    if 'chocolatey._yes' in __context__:
        return context['chocolatey._yes']
    if _LooseVersion(chocolatey_version()) >= _LooseVersion('0.9.9'):
        answer = ['--yes']
    else:
        answer = []
    context['chocolatey._yes'] = answer
    return answer
Returns ['--yes'] if on v0.9.9.0 or later, otherwise returns an empty list
dataset/ETHPy150Open saltstack/salt/salt/modules/chocolatey.py/_yes