]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:pyregistry: use tevent_context_init()
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Jan 2009 15:06:31 +0000 (16:06 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 2 Jan 2009 17:16:48 +0000 (18:16 +0100)
metze

source4/lib/registry/pyregistry.c

index 2d2f2fb6859ed3d204e5f8cc39cd762f865440e6..357305c4de35316db5cca8054330ceeba5e08240 100644 (file)
@@ -357,7 +357,7 @@ static PyObject *py_open_ldb_file(PyObject *self, PyObject *args, PyObject *kwar
        session_info = NULL; /* FIXME */
 
        result = reg_open_ldb_file(NULL, location, session_info, credentials,
-                                                          event_context_init(NULL), lp_ctx, &key);
+                                                          tevent_context_init(NULL), lp_ctx, &key);
        PyErr_WERROR_IS_ERR_RAISE(result);
 
        return py_talloc_import(&PyHiveKey, key);