diff options
Diffstat (limited to 'source/python')
-rw-r--r-- | source/python/py_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/py_tdb.c b/source/python/py_tdb.c index f73aa0ba8be..322d367eda4 100644 --- a/source/python/py_tdb.c +++ b/source/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); } |