mirror of
https://github.com/samba-team/samba.git
synced 2025-07-25 00:59:11 +03:00
s4: add python bindings for wrap_(s|g)etxattr
This commit is contained in:
committed by
Andrew Bartlett
parent
45465cb7da
commit
c80ecd9964
@ -54,8 +54,8 @@ static void PyErr_SetLdbError(PyObject *error, int ret, struct ldb_context *ldb_
|
||||
return; /* Python exception should already be set, just keep that */
|
||||
|
||||
PyErr_SetObject(error,
|
||||
Py_BuildValue(discard_const_p(char, "(i,s)"), ret,
|
||||
ldb_ctx == NULL?ldb_strerror(ret):ldb_errstring(ldb_ctx)));
|
||||
Py_BuildValue(discard_const_p(char, "(i,s)"), ret,
|
||||
ldb_ctx == NULL?ldb_strerror(ret):ldb_errstring(ldb_ctx)));
|
||||
}
|
||||
|
||||
static PyObject *py_ldb_get_exception(void)
|
||||
|
Reference in New Issue
Block a user