This reverts commit d272d6f3df2610a62f81e2ca26798ea8a6674b06. This
worked around a misconfigured environment by forcing stdout to use
UTF-8. This is kind of a hack and it only works in Python 2, breaking
Python 3 [1].
The correct solution to this issue and all Python 2 unicode print issues
is to correctly configuring LC_ALL to use a UTF-8 locale.
Reviewed: https:/ /review. openstack. org/650364 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=488dd9940a8 8c33a5061bde563 6e6338602a3a57
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 488dd9940a88c33 a5061bde5636e63 38602a3a57
Author: Stephen Finucane <email address hidden>
Date: Fri Apr 5 07:49:38 2019 +0100
Revert "Fix crashing console-log"
This reverts commit d272d6f3df2610a 62f81e2ca26798e a8a6674b06. This
worked around a misconfigured environment by forcing stdout to use
UTF-8. This is kind of a hack and it only works in Python 2, breaking
Python 3 [1].
The correct solution to this issue and all Python 2 unicode print issues
is to correctly configuring LC_ALL to use a UTF-8 locale.
[1] https:/ /stackoverflow. com/q/4374455
Change-Id: Iaeec1e74262a35 f3de3c81f701383 5a6aa6f9029 87cac36b3c0900c ffe2516fa8) 87974a71951b7e7 44273a43b4)
Closes-Bug: #1823287
(cherry picked from commit a9b1125f7ba2098
(cherry picked from commit 2ca1814a2b4d1e8