From 8f1fa9e78ebfd80d289f1e7d6e1bc02f6c763b6d Mon Sep 17 00:00:00 2001 From: Ben Woodward Date: Wed, 7 Oct 2015 13:44:51 +0100 Subject: [PATCH] Chocolatey doesn't have a help command. --- salt/modules/chocolatey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/chocolatey.py b/salt/modules/chocolatey.py index 000d81a12c..05caf26176 100644 --- a/salt/modules/chocolatey.py +++ b/salt/modules/chocolatey.py @@ -102,7 +102,7 @@ def chocolatey_version(): ''' if 'chocolatey._version' in __context__: return __context__['chocolatey._version'] - cmd = [_find_chocolatey(__context__, __salt__), 'help'] + cmd = [_find_chocolatey(__context__, __salt__)] out = __salt__['cmd.run'](cmd, python_shell=False) for line in out.splitlines(): line = line.lower()