[Zodb-checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.73.2.21

Jeremy Hylton jeremy at zope.com
Thu Jun 5 20:01:30 EDT 2003


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv16923

Modified Files:
      Tag: ZODB3-3_1-branch
	ClientStorage.py 
Log Message:
Add fix for failing test case.

It seems safe, but a bit surprising it is unnecessary.


=== ZODB3/ZEO/ClientStorage.py 1.73.2.20 => 1.73.2.21 ===
--- ZODB3/ZEO/ClientStorage.py:1.73.2.20	Thu Jun  5 18:10:17 2003
+++ ZODB3/ZEO/ClientStorage.py	Thu Jun  5 19:01:29 2003
@@ -802,6 +802,11 @@
         """
         # 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