[Thuban-commits] r2750 - branches/WIP-pyshapelib-bramz/libraries/pyshapelib

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Mar 22 21:35:08 CET 2007


Author: bramz
Date: 2007-03-22 21:35:08 +0100 (Thu, 22 Mar 2007)
New Revision: 2750

Modified:
   branches/WIP-pyshapelib-bramz/libraries/pyshapelib/ChangeLog
   branches/WIP-pyshapelib-bramz/libraries/pyshapelib/dbflibmodule.c
Log:
commit function was incorrectly pointing to dbflib_read_record. fixed!

Modified: branches/WIP-pyshapelib-bramz/libraries/pyshapelib/ChangeLog
===================================================================
--- branches/WIP-pyshapelib-bramz/libraries/pyshapelib/ChangeLog	2007-03-22 19:03:27 UTC (rev 2749)
+++ branches/WIP-pyshapelib-bramz/libraries/pyshapelib/ChangeLog	2007-03-22 20:35:08 UTC (rev 2750)
@@ -2,6 +2,9 @@
 
 	* shapelibmodule.c, dbflibmodule.c: in __init__ of ShapeFile and DBFFile,
 	throw proper IOError if opening of file failed.
+	
+	* dbflibmodule.c: commit function was incorrectly pointing to 
+	dbflib_read_record
 
 2007-03-21	Bram de Greve <bram.degreve at intec.ugent.be>
 

Modified: branches/WIP-pyshapelib-bramz/libraries/pyshapelib/dbflibmodule.c
===================================================================
--- branches/WIP-pyshapelib-bramz/libraries/pyshapelib/dbflibmodule.c	2007-03-22 19:03:27 UTC (rev 2749)
+++ branches/WIP-pyshapelib-bramz/libraries/pyshapelib/dbflibmodule.c	2007-03-22 20:35:08 UTC (rev 2750)
@@ -457,7 +457,7 @@
 		"Record can either be a dictionary in which case the keys are used as field names, "
 		"or a sequence that must have an item for every field (length = field_count())"},
 #if HAVE_UPDATE_HEADER
-	{"commit", (PyCFunction)dbffile_read_record, METH_NOARGS, 
+	{"commit", (PyCFunction)dbffile_commit, METH_NOARGS, 
 		"commit() -> None"},
 #endif
 	{NULL}



More information about the Thuban-commits mailing list