mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
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:
parent
9d47eabfa4
commit
03127dcfae
14 changed files with 18 additions and 14 deletions
|
@ -88,7 +88,7 @@ class Connection(object):
|
|||
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
stdout, stderr = p.communicate()
|
||||
return (p.returncode, '', stdout, stderr)
|
||||
return (p.returncode, stdout, stderr)
|
||||
|
||||
def _normalize_path(self, path, prefix):
|
||||
if not path.startswith(os.path.sep):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue