]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: Use Py_BuildValue to create the argument tuple 26240/head
authorVolker Theile <vtheile@suse.com>
Fri, 1 Feb 2019 10:12:34 +0000 (11:12 +0100)
committerVolker Theile <vtheile@suse.com>
Fri, 1 Feb 2019 10:48:29 +0000 (11:48 +0100)
commit8210be29ad531d1d0339d59ed93a7e474dd67498
tree2db6c3e43f102b3198de1e4b76e634715602c0b1
parent602c875bd68a091be485bfba7e2d62b3f08ba7b3
mgr: Use Py_BuildValue to create the argument tuple

Reduce the complexity of the code by using the generic function, Py_BuildValue(), that can create most common objects from C values, directed by a format string.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/mgr/BaseMgrModule.cc