[Zodb-checkins] CVS: Zope/lib/python/ZEO - ClientStorage.py:1.102

Jeremy Hylton jeremy at zope.com
Tue Jun 10 11:55:35 EDT 2003


Update of /cvs-repository/Zope/lib/python/ZEO
In directory cvs.zope.org:/tmp/cvs-serv25981

Modified Files:
	ClientStorage.py 
Log Message:
Add band-aid for failing test.


=== Zope/lib/python/ZEO/ClientStorage.py 1.101 => 1.102 ===
--- Zope/lib/python/ZEO/ClientStorage.py:1.101	Thu Jun  5 18:38:35 2003
+++ Zope/lib/python/ZEO/ClientStorage.py	Tue Jun 10 10:55:34 2003
@@ -889,7 +889,12 @@
         update or invalidate the cache.
         """
         # Must be called with _lock already acquired.
-        
+
+        # XXX not sure why _update_cache() would be called on
+        # a closed storage.
+        if self._cache is None:
+            return
+
         self._cache.checkSize(self._tbuf.get_size())
         try:
             self._tbuf.begin_iterate()




More information about the Zodb-checkins mailing list