mirror of
https://github.com/samba-team/samba.git
synced 2025-07-29 15:42:04 +03:00
r15180: Use tdb_lock_bystring_with_timeout().
(This used to be commit 1ff6ae68b6
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
ba6f1b1f9e
commit
e241563472
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user