python: Use PyObject_CallFunction instead of constructing the tuple.
commitfd8cc6c884149bc57a8d3d5c59871f8b6c7d2c02
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 21 Nov 2019 14:16:37 +0000 (21 14:16 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 23 Nov 2019 09:39:26 +0000 (23 09:39 +0000)
treee26dd24409ed6206341e47edafeb0caa69da3010
parentd39401f28c7c2da45253889a257acf716ea3fbef
python: Use PyObject_CallFunction instead of constructing the tuple.

It is unclear why we were constructing this by hand, but using the
following tip we can use PyObject_CallFunction:
https://stackoverflow.com/a/21221335
plugins/python/python.c