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
commit 03127dcfae
14 changed files with 18 additions and 14 deletions

View file

@ -65,7 +65,7 @@ class Connection(object):
# totally ignores privlege escalation
vvv("EXEC %s" % (cmd), host=self.host)
p = self.client.command.run(cmd)[self.host]
return (p[0], '', p[1], p[2])
return (p[0], p[1], p[2])
def _normalize_path(self, path, prefix):
if not path.startswith(os.path.sep):