mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4:pyregistry: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
5aee3a45e4
commit
8ec4d9cb00
@ -288,7 +288,7 @@ static PyObject *py_open_hive(PyTypeObject *type, PyObject *args, PyObject *kwar
|
||||
session_info = NULL;
|
||||
|
||||
result = reg_open_hive(NULL, location, session_info, credentials,
|
||||
tevent_context_init(NULL),
|
||||
samba_tevent_context_init(NULL),
|
||||
lp_ctx, &hive_key);
|
||||
talloc_free(mem_ctx);
|
||||
PyErr_WERROR_NOT_OK_RAISE(result);
|
||||
|
Loading…
Reference in New Issue
Block a user