Revert "fix augeas module so shlex doesn't strip quotes"

This commit is contained in:
C. R. Oldham 2016-12-06 16:39:15 -07:00 committed by rallytime
parent 909d519ddb
commit eb889173b0

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)