summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_tdb.c b/source3/python/py_tdb.c
index f73aa0ba8b..322d367eda 100644
--- a/source3/python/py_tdb.c
+++ b/source3/python/py_tdb.c
@@ -494,7 +494,7 @@ PyObject *py_tdb_hnd_lock_bystring(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "s|i", &s, &timeout))
return NULL;
- result = tdb_lock_bystring(obj->tdb, s, timeout);
+ result = tdb_lock_bystring_with_timeout(obj->tdb, s, timeout);
return PyInt_FromLong(result != -1);
}