]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/tasks/ceph: get rid of cStringIO for py3 compat
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Tue, 26 Nov 2019 12:21:15 +0000 (13:21 +0100)
committerKefu Chai <kchai@redhat.com>
Wed, 4 Mar 2020 05:09:16 +0000 (13:09 +0800)
commit35cf5131e7152ce20d916aa99c124751d6a97f5c
treeee3a8541eeecc18026b124f118ba2a456aadd569
parent63f5528930a473ef3e123ab52ebe5b1a4e37157b
qa/tasks/ceph: get rid of cStringIO for py3 compat

Use io.BytesIO instead of cStringIO.StringIO
Use six.ensure_str whenever it needs to convert binary to str.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
qa/tasks/ceph.py