]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs-shell: Fix flake8 bare 'except' warnings
authorVarsha Rao <varao@redhat.com>
Thu, 6 Jun 2019 15:44:02 +0000 (21:14 +0530)
committerVarsha Rao <varao@redhat.com>
Thu, 6 Jun 2019 15:55:53 +0000 (21:25 +0530)
commitd063e8b1e05a23f3f15fe2080ec57fe6242e64f4
treed0d5518457c95883db463d9434d5425b6a5cfca6
parent6a0a5ed83d6d3e2bb9977bda2c773d5d5b6accf7
cephfs-shell: Fix flake8 bare 'except' warnings

Instead of bare 'except', catch OSError and libcephfs exceptions.

Fixes: https://tracker.ceph.com/issues/40191
Signed-off-by: Varsha Rao <varao@redhat.com>
src/tools/cephfs/cephfs-shell