Revert "WinRM/PSRP: Fix UTF-8 issue (#46998)" (#47447)

This reverts commit 1bb674034f.
pull/47465/head
Jordan Borean 6 years ago committed by GitHub
parent 581b6aed2e
commit d46d92eed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +0,0 @@
bugfixes:
- psrp - Fix issue when dealing with unicode values in the output for Python 2 - https://github.com/ansible/ansible/pull/46998

@ -557,7 +557,7 @@ if ($bytes_read -gt 0) {
# create our own output based on the properties if that is the
# case+
try:
output_msg = to_text(output)
output_msg = str(output)
except TypeError:
if isinstance(output, GenericComplexObject):
obj_lines = output.property_sets

Loading…
Cancel
Save