1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s4/messaging/py: Fix typo

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-05-23 12:00:07 +12:00 committed by Andrew Bartlett
parent 48602b0e29
commit e29c3374bc

View File

@ -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;
}