Projet

Général

Profil

0003-python-use-simpler-call-format-to-prevent-warning-ab.patch

Benjamin Dauvergne, 19 juin 2020 21:12

Télécharger (900 octets)

Voir les différences:

Subject: [PATCH 3/6] python: use simpler call format to prevent warning about
 PY_SSIZE_T_CLEAN (#44287)

 bindings/python/wrapper_top.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bindings/python/wrapper_top.c
733 733
		default:
734 734
			return;
735 735
	}
736
	result = PyObject_CallMethod(logger_object, method, "s#s", "%s", 2, message);
736
	result = PyObject_CallMethod(logger_object, method, "ss", "%s", message);
737 737
	Py_DECREF(logger_object);
738 738
	if (result) {
739 739
		Py_DECREF(result);
740
-