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:
parent
48602b0e29
commit
e29c3374bc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user