]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/cephfs: fix mkdirs(exist_ok) call
authorKefu Chai <kchai@redhat.com>
Sat, 4 Aug 2018 12:52:29 +0000 (20:52 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 9 Aug 2018 13:59:00 +0000 (21:59 +0800)
commit16e795c05077fa6ed3e4fcb5642b32b1b42fc404
tree7078a9448ac3fe1ee367668bb131f9ce5206db64
parent330f2a4042b01135fdcf6cf852618218b1fcbf32
tools/cephfs: fix mkdirs(exist_ok) call

we need to use pathlib.Path.mkdirs(parents=True, exist_ok=True) or
os.mkdirs(path), but not both.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tools/cephfs/cephfs-shell