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

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

This reverts commit 1bb674034f.
This commit is contained in:
Jordan Borean 2018-10-23 09:10:28 +10:00 committed by GitHub
parent 581b6aed2e
commit d46d92eed5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

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

View file

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