Merge pull request #492 from dhozac/unnecessary-parse_json

Remove unnecessary parse_json invocation
pull/494/merge
Michael DeHaan 13 years ago
commit 67fc362fc6

@ -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())

Loading…
Cancel
Save