[Zodb-checkins] CVS: Zope3/src/persistence - persistence.c:1.21
Jim Fulton
cvs-admin at zope.org
Fri Nov 21 12:10:19 EST 2003
Update of /cvs-repository/Zope3/src/persistence
In directory cvs.zope.org:/tmp/cvs-serv30423/src/persistence
Modified Files:
persistence.c
Log Message:
The mechanism used in persistence.c to set the interface doesn't work
with the new interface implementation. We need to make these
declarations externally.
=== Zope3/src/persistence/persistence.c 1.20 => 1.21 ===
--- Zope3/src/persistence/persistence.c:1.20 Thu Jul 3 15:12:56 2003
+++ Zope3/src/persistence/persistence.c Fri Nov 21 12:10:18 2003
@@ -1061,8 +1061,8 @@
PyPersist_Type.tp_new = PyType_GenericNew;
if (PyType_Ready(&PyPersist_Type) < 0)
return;
- if (persist_set_interface(&PyPersist_Type) < 0)
- return;
+/* if (persist_set_interface(&PyPersist_Type) < 0) */
+/* return; */
Py_INCREF(&PyPersist_Type);
if (PyDict_SetItemString(d, "Persistent", (PyObject *)&PyPersist_Type) < 0)
More information about the Zodb-checkins
mailing list