Merge pull request #15049 from mattclay/paramiko-unicode
Add missing to_bytes for cmd.
This commit is contained in:
commit
b80c9b5032
1 changed files with 2 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue