]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/cephfs: use StringIO for capturing str
authorKefu Chai <kchai@redhat.com>
Sat, 28 Mar 2020 11:10:03 +0000 (19:10 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 14 Jun 2020 08:34:53 +0000 (16:34 +0800)
commit5ebc470dfa0cc18556582db075097b6270963f13
tree844ec3d9570301576bef8a419db62251f6a3653f
parent7e2efab8606180c8aa82b438912254a78af1e61d
qa/tasks/cephfs: use StringIO for capturing str

if we don't expect non-utf8 in stdout, use StringIO instead of BytesIO.

see also d8d44ed1566b19eec055e07da2a0fed88fed4152

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit f10f86579684a0d1b8d99787b8e19709a64df7d6)
qa/tasks/cephfs/mount.py