[Zope-Checkins] CVS: ZODB3/ZODB - cPickleCache.c:1.68.12.1

Barry Warsaw barry@wooz.org
Tue, 11 Feb 2003 14:15:33 -0500


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv16405

Modified Files:
      Tag: ZODB3-3_1-branch
	cPickleCache.c 
Log Message:
cc_invalidate(): Removed a bogus assert.


=== ZODB3/ZODB/cPickleCache.c 1.68 => 1.68.12.1 ===
--- ZODB3/ZODB/cPickleCache.c:1.68	Mon Jun 10 22:34:22 2002
+++ ZODB3/ZODB/cPickleCache.c	Tue Feb 11 14:15:32 2003
@@ -439,11 +439,6 @@
   PyObject *inv, *key, *v;
   int i = 0;
 
-  /* Older versions of ZODB used None to mean "invalidate everything,"
-     but current Connection implementations don't ever pass None.
-  */
-  assert(key != Py_None);
-
   if (PyArg_ParseTuple(args, "O!", &PyDict_Type, &inv)) {
       while (PyDict_Next(inv, &i, &key, &v))
 	  _invalidate(self, key);