1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #492 from dhozac/unnecessary-parse_json

Remove unnecessary parse_json invocation
This commit is contained in:
Michael DeHaan 2012-06-20 10:26:17 -07:00
commit 9662902c31

View file

@ -309,7 +309,6 @@ class Runner(object):
cmd = " ".join([str(x) for x in [remote_module_path, async_jid, async_limit, async_module, argsfile]]) cmd = " ".join([str(x) for x in [remote_module_path, async_jid, async_limit, async_module, argsfile]])
res = self._low_level_exec_command(conn, cmd, tmp, sudoable=True) res = self._low_level_exec_command(conn, cmd, tmp, sudoable=True)
result1 = utils.parse_json(res)
executed_str = "%s %s" % (module_name_tail, args.strip()) executed_str = "%s %s" % (module_name_tail, args.strip())