Merge pull request #43202 from garethgreenaway/42642_2016_11_augeas_module_revert_fix

Reverting previous augeas module changes
This commit is contained in:
Nicole Thomas 2017-08-28 09:14:27 -04:00 committed by GitHub
commit 5308c27f9f

View file

@ -199,7 +199,7 @@ def execute(context=None, lens=None, commands=(), load_path=None):
method = METHOD_MAP[cmd]
nargs = arg_map[method]
parts = salt.utils.shlex_split(arg, posix=False)
parts = salt.utils.shlex_split(arg)
if len(parts) not in nargs:
err = '{0} takes {1} args: {2}'.format(method, nargs, parts)