s4:pyregistry: make use of samba_tevent_context_init()
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Feb 2013 07:31:41 +0000 (08:31 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 28 Feb 2013 11:07:31 +0000 (12:07 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source4/lib/registry/pyregistry.c

index ad411e846de933555c4433c8645f5c682b5fe102..8f967109cc4b4bfb862ccfd2353015d066929d41 100644 (file)
@@ -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);