diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-09-24 08:56:20 -0700 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-09-24 08:57:19 -0700 |
commit | 03127dcfaea1442db2ddd2b964705e3f377c58a8 (patch) | |
tree | cba430db81a0fde254e731bf0b15edeaefbc7cf1 /lib/ansible/plugins/connection/accelerate.py | |
parent | 9d47eabfa454d6359654106fb7915f4fc43329fd (diff) | |
download | ansible-03127dcfaea1442db2ddd2b964705e3f377c58a8.tar.gz |
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.
Diffstat (limited to 'lib/ansible/plugins/connection/accelerate.py')
-rw-r--r-- | lib/ansible/plugins/connection/accelerate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/connection/accelerate.py b/lib/ansible/plugins/connection/accelerate.py index d0bd5ad3d1..67c070dc71 100644 --- a/lib/ansible/plugins/connection/accelerate.py +++ b/lib/ansible/plugins/connection/accelerate.py @@ -281,7 +281,7 @@ class Connection(ConnectionBase): vvvv("%s: received the response" % self.host) break - return (response.get('rc',None), '', response.get('stdout',''), response.get('stderr','')) + return (response.get('rc', None), response.get('stdout', ''), response.get('stderr', '')) def put_file(self, in_path, out_path): |