]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.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)
committerKefu Chai <k.chai@proxmox.com>
Thu, 5 Feb 2026 02:50:07 +0000 (10:50 +0800)
commite70ca55c96b6e95435bba44eaa5ed107b05a091e
tree8e49b3472934607998df3f72a0c94a0f1ccf2d1e
parent99de96b15e623afe2ea49c8ae7efcda46bf9a7c4
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