Minor py3 compliance change for network module (#26695)
* Convert return value of `execute_command` to appropriate type
This commit is contained in:
parent
7ffa882f9d
commit
112cae73df
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ def exec_command(module, command):
|
|||
|
||||
sf.close()
|
||||
|
||||
return rc, to_native(stdout), to_native(stderr)
|
||||
return rc, to_native(stdout, errors='surrogate_or_strict'), to_native(stderr, errors='surrogate_or_strict')
|
||||
|
||||
|
||||
def request_builder(method, *args, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue