[Zodb-checkins] CVS: StandaloneZODB/ZEO - ClientCache.py:1.17

Jeremy Hylton jeremy@zope.com
Thu, 16 Aug 2001 16:27:49 -0400


Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv12945

Modified Files:
	ClientCache.py 
Log Message:
Robustification-- catch OSError when tempfile is closed.


=== StandaloneZODB/ZEO/ClientCache.py 1.16 => 1.17 ===
 
     def close(self):
-        self._f[self._current].close()
+        try:
+            self._f[self._current].close()
+        except OSError:
+            pass
 
     def open(self):
         self._acquire()