remove the stdin return value from connection plugin exec_command() methods

The value was useless -- unused by the callers and always hardcoded to
the empty string.
This commit is contained in:
Toshio Kuratomi 2015-09-24 08:56:20 -07:00
parent 9d47eabfa4
commit 03127dcfae
14 changed files with 18 additions and 14 deletions

View file

@ -467,7 +467,7 @@ class ActionBase:
cmd = self._play_context.make_become_cmd(cmd, executable=executable)
self._display.debug("executing the command %s through the connection" % cmd)
rc, stdin, stdout, stderr = self._connection.exec_command(cmd, tmp, in_data=in_data, sudoable=sudoable)
rc, stdout, stderr = self._connection.exec_command(cmd, tmp, in_data=in_data, sudoable=sudoable)
self._display.debug("command execution done")
if not isinstance(stdout, string_types):