[Zodb-checkins] CVS: StandaloneZODB/BTrees - BTreeModuleTemplate.c:1.14.12.1

Jeremy Hylton jeremy@zope.com
Wed, 28 Nov 2001 15:54:17 -0500


Update of /cvs-repository/StandaloneZODB/BTrees
In directory cvs.zope.org:/tmp/cvs-serv7963/BTrees

Modified Files:
      Tag: StandaloneZODB-1_0-branch
	BTreeModuleTemplate.c 
Log Message:
Uses BTreesConflictError instead of ConflictError.

The new BTreesConflictError deals with the apparently undocumented
values raised by the BTrees code when a failure occurs during conflict
resolution.



=== StandaloneZODB/BTrees/BTreeModuleTemplate.c 1.14 => 1.14.12.1 ===
 
   if (m != NULL) {
-  	c = PyObject_GetAttrString(m,"ConflictError");
+  	c = PyObject_GetAttrString(m, "BTreesConflictError");
   	if (c != NULL) 
   		ConflictError = c;
 	Py_DECREF(m);