[Zodb-checkins] CVS: StandaloneZODB/bsddb3Storage/bsddb3Storage - Full.py:1.30 Minimal.py:1.10

Jeremy Hylton jeremy@zope.com
Fri, 17 Aug 2001 17:14:05 -0400


Update of /cvs-repository/StandaloneZODB/bsddb3Storage/bsddb3Storage
In directory cvs.zope.org:/tmp/cvs-serv18027

Modified Files:
	Full.py Minimal.py 
Log Message:
If a commitlog is open when the storage is closed, close it.  This allows
the Windows test suite to pass.


=== StandaloneZODB/bsddb3Storage/bsddb3Storage/Full.py 1.29 => 1.30 ===
         
     def close(self):
+        if self._commitlog is not None:
+            self._commitlog.close()
         self._serials.close()
         self._pickles.close()
         self._vids.close()


=== StandaloneZODB/bsddb3Storage/bsddb3Storage/Minimal.py 1.9 => 1.10 ===
         self._serials.close()
         self._pickles.close()
+        if self._commitlog is not None:
+            self._commitlog.close()
         # Base class implements some useful close behavior
         BerkeleyBase.close(self)