]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/cephfs: move LibCephFSStateError closer to base class
authorRishabh Dave <ridave@redhat.com>
Fri, 13 Dec 2019 06:51:03 +0000 (12:21 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 9 Jan 2020 11:03:32 +0000 (16:33 +0530)
commit863b47b210605df1294fa1c3290bbe4be95e0847
tree8aa3cdae53ba06ffe0b8ed8cf489154d9ab40436
parentbe37f499f8f32a4470d1c54646a61191aaef9b97
pybind/cephfs: move LibCephFSStateError closer to base class

At first look it appears that class OSError is the only class derived
from class Error which makes class Error look redundant. Therefore, it's
better to move class LibCephFSStateError from the bunch of exception
classes derived from OSError to closer to class Error.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/pybind/cephfs/cephfs.pyx