]> git.ipfire.org Git - thirdparty/samba.git/commit
s4:param: replace calls to deprecated Python methods
authorDmitry Antipov <dantipov@cloudlinux.com>
Thu, 30 Mar 2023 11:04:37 +0000 (14:04 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 21 Jul 2023 01:25:36 +0000 (01:25 +0000)
commit980c1565ed11e609d415ae4daec50a587c77960c
treeb761e88b9c57a9b926a117b0e9f33ac7ea3c8faa
parentca5cc05b22bf92dd7236d2c0d4a424340a0048f3
s4:param: replace calls to deprecated Python methods

Replace calls to (obsolete but still stable)
PyEval_CallObjectWithKeywords() with PyObject_Call()
by using trivial wrapper.

Signed-off-by: Dmitry Antipov <dantipov@cloudlinux.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
[abartlet@samba.org Adjusted to always use the PyObject_Call()
 as it is available in all of Samba's supported python versions]
source4/param/provision.c