]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
python-common/cryptotools: use a main function
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 21 Apr 2025 19:50:22 +0000 (15:50 -0400)
committerNizamudeen A <nia@redhat.com>
Mon, 5 Jan 2026 10:44:33 +0000 (16:14 +0530)
commitf83d383889288d4ee81d8b7d48752d0ac6ddf4fe
tree1321e967db73081b3c260441dee8a6e8ffc4fec4
parentf9b897406f1b5d5e7ebae09252d562b543c6f0e0
python-common/cryptotools: use a main function

Use a main function to encapsulate the cli parsing rather than a block
of code in module scope.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit c98e53f1136ebef2ffeb3d191ab2fc49d9728a3d)
src/python-common/ceph/cryptotools/cryptotools.py