]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: replace imports of distutils.util
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 19 Sep 2024 00:45:58 +0000 (17:45 -0700)
committerJohn Mulligan <jmulligan@redhat.com>
Tue, 24 Sep 2024 17:40:19 +0000 (13:40 -0400)
commitffcc157a694f0e40829b5ecd2692e54f0a763607
tree0ed7f62e5d31b103d7a292e44eb355532fcc26c9
parent51516ba146e9602c0dea1de65b040d737d1dab6a
pybind/mgr: replace imports of distutils.util

In python 3.12 distutils is removed. Replace uses of
distutils.util.strtobool with our own utility function.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/dashboard/tools.py
src/pybind/mgr/volumes/fs/operations/pin_util.py