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

Jeremy Hylton jeremy@zope.com
Thu, 23 Aug 2001 22:14:31 -0400


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

Modified Files:
      Tag: zeo-1_0-branch
	ClientCache.py 
Log Message:
Ignore errors removing files that don't exist.

(Last missed change merged from the trunk, I think)


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