]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ceph_objectstore_tool.py: use str.startswit
authorKefu Chai <kchai@redhat.com>
Wed, 8 Apr 2020 04:32:54 +0000 (12:32 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 8 Apr 2020 04:32:56 +0000 (12:32 +0800)
commit77ec9ce88df54b7758e56eeef1b3cf3f14952513
treea0a5693fac42f62302b7d203d5789d6cdb4bca5e
parent523c623b282ce5cf4e4bb7bcf2b35c4009d89b3a
qa/tasks/ceph_objectstore_tool.py: use str.startswit

in Python3, string module does not offer `string.find()` anymore, let's
use `str.find()` method instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/ceph_objectstore_tool.py