From e29c3374bcf85a72ab91a85684b7bdf8cd955053 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 23 May 2023 12:00:07 +1200 Subject: [PATCH] s4/messaging/py: Fix typo Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- source4/lib/messaging/pymessaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index 203f2d14a83..ac0cc059c12 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -239,7 +239,7 @@ static PyObject *py_imessaging_register(PyObject *self, PyObject *args, PyObject } if (!PyTuple_Check(callback_and_context) || PyTuple_Size(callback_and_context) != 2) { - PyErr_SetString(PyExc_ValueError, "Expected of size 2 for callback_and_context"); + PyErr_SetString(PyExc_ValueError, "Expected tuple of size 2 for callback_and_context"); return NULL; }