]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/rbd: new OperationCanceled exception
authorJason Dillaman <dillaman@redhat.com>
Tue, 23 Jul 2019 16:50:59 +0000 (12:50 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 25 Jul 2019 12:58:36 +0000 (08:58 -0400)
commit2e85381665a28167cc01d3ef66a577502b79e7ed
treed152f80af33a5aa30f31cbae476da985ee4e0346
parent6dc8249c7ba2553acb686a2462de93239f1f07b4
pybind/rbd: new OperationCanceled exception

This allows the error to be directly caught instead of attempting
to parse the OSError.errno

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py