1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #15049 from mattclay/paramiko-unicode

Add missing to_bytes for cmd.
This commit is contained in:
Toshio Kuratomi 2016-03-19 22:37:23 -07:00
commit b80c9b5032

View file

@ -272,6 +272,8 @@ class Connection(ConnectionBase):
display.vvv("EXEC %s" % cmd, host=self._play_context.remote_addr)
cmd = to_bytes(cmd, errors='strict')
no_prompt_out = ''
no_prompt_err = ''
become_output = ''