[Zodb-checkins] CVS: Zope3/lib/python/ZODB - TmpStore.py:1.13
Jeremy Hylton
jeremy@zope.com
Tue, 3 Dec 2002 16:26:53 -0500
Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv31476
Modified Files:
TmpStore.py
Log Message:
Sync TmpStore between ZODB3 and ZODB4
=== Zope3/lib/python/ZODB/TmpStore.py 1.12 => 1.13 ===
--- Zope3/lib/python/ZODB/TmpStore.py:1.12 Tue Dec 3 12:24:12 2002
+++ Zope3/lib/python/ZODB/TmpStore.py Tue Dec 3 16:26:53 2002
@@ -37,6 +37,7 @@
self._db = None
def close(self):
+ # XXX Is this necessary?
self._file.close()
def getName(self):
@@ -95,7 +96,7 @@
if self._transaction is transaction:
return
self._transaction = transaction
- self._tindex.clear()
+ self._tindex.clear() # Just to be sure!
self._pos = self._tpos
def tpc_vote(self, transaction):