]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume terminal remove unicode stream handler
authorAlfredo Deza <adeza@redhat.com>
Mon, 9 Sep 2019 17:45:08 +0000 (13:45 -0400)
committerAlfredo Deza <alfredo@deza.pe>
Fri, 13 Sep 2019 16:08:41 +0000 (12:08 -0400)
commit6f186a2bad13cce8298d49c14490bd1648a35adb
tree7a1a5466fbd6f818cca2dd42b226059cecba119c
parent0f776cf838a1ae3130b2b73dc26be9c95c6ccc39
ceph-volume terminal remove unicode stream handler

This caused problems in environments where stderr was redirected, since
stderr sets the encoding to None. Getting it back again allows
everything to work correctly, and keeps all the current unit tests
passing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
src/ceph-volume/ceph_volume/terminal.py