]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: use custom exception to handle authorization failures 30912/head
authorJason Dillaman <dillaman@redhat.com>
Sun, 27 Oct 2019 19:56:34 +0000 (15:56 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 29 Oct 2019 12:35:03 +0000 (08:35 -0400)
commit7683f5f259bbeb6fcfc6a18c8e1a9551e068e847
tree9e75cb9310923f7f53a3546d44e078ea566ccef6
parent7cccdef25e3c35a743414d5a7a6e0b10b8878b9b
pybind/mgr: use custom exception to handle authorization failures

Python2 does not include the PermissionError exception so use a
custom exception to support both versions.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/pybind/mgr/rbd_support/module.py