summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-02 16:06:31 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-02 18:16:48 +0100
commit54c0f626f51c33245ae8f7778cc6ad6b48ae0f93 (patch)
tree554a3f3c92a63707dc710809ebdd18e9d593a794 /source4
parent0e95c9a1eb82a50281c94b226fbae2ac3210e5f5 (diff)
downloadsamba-54c0f626f51c33245ae8f7778cc6ad6b48ae0f93.tar.gz
samba-54c0f626f51c33245ae8f7778cc6ad6b48ae0f93.tar.bz2
samba-54c0f626f51c33245ae8f7778cc6ad6b48ae0f93.zip
s4:pyregistry: use tevent_context_init()
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/pyregistry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c
index 2d2f2fb685..357305c4de 100644
--- a/source4/lib/registry/pyregistry.c
+++ b/source4/lib/registry/pyregistry.c
@@ -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);