svn commit: samba r15180 - branches/SAMBA_3_0/source/python trunk/source/python

lmuelle at samba.org lmuelle at samba.org
Sun Apr 23 15:39:32 GMT 2006


Author: lmuelle
Date: 2006-04-23 15:39:32 +0000 (Sun, 23 Apr 2006)
New Revision: 15180

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15180

Log:
Use tdb_lock_bystring_with_timeout().

Modified:
   branches/SAMBA_3_0/source/python/py_tdb.c
   trunk/source/python/py_tdb.c


Changeset:
Modified: branches/SAMBA_3_0/source/python/py_tdb.c
===================================================================
--- branches/SAMBA_3_0/source/python/py_tdb.c	2006-04-23 15:34:47 UTC (rev 15179)
+++ branches/SAMBA_3_0/source/python/py_tdb.c	2006-04-23 15:39:32 UTC (rev 15180)
@@ -494,7 +494,7 @@
 	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);
 }

Modified: trunk/source/python/py_tdb.c
===================================================================
--- trunk/source/python/py_tdb.c	2006-04-23 15:34:47 UTC (rev 15179)
+++ trunk/source/python/py_tdb.c	2006-04-23 15:39:32 UTC (rev 15180)
@@ -494,7 +494,7 @@
 	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);
 }



More information about the samba-cvs mailing list