Minor py3 compliance change for network module (#26695)

*  Convert return value of `execute_command` to appropriate type
This commit is contained in:
Ganesh Nalawade 2017-07-12 18:09:25 +05:30 committed by GitHub
parent 7ffa882f9d
commit 112cae73df

View file

@ -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):