[Zope3-checkins] CVS: ZODB/src/ZODB/FileStorage - FileStorage.py:1.9

Tim Peters tim.one at comcast.net
Tue Mar 16 16:09:06 EST 2004


Update of /cvs-repository/ZODB/src/ZODB/FileStorage
In directory cvs.zope.org:/tmp/cvs-serv2377/src/zodb/filestorage

Modified Files:
	FileStorage.py 
Log Message:
Repaired partly inaccurate comment about _packt.


=== ZODB/src/ZODB/FileStorage/FileStorage.py 1.8 => 1.9 ===
--- ZODB/src/ZODB/FileStorage/FileStorage.py:1.8	Tue Mar 16 15:46:19 2004
+++ ZODB/src/ZODB/FileStorage/FileStorage.py	Tue Mar 16 16:09:04 2004
@@ -1319,7 +1319,10 @@
         if not self._index:
             return
 
-        # Record pack time so we don't undo while packing
+        # Set _packt to None for the duration, which blocks undo for the
+        # duration.
+        # XXX That appears to be the only use for _packt; if so, could be
+        # XXX cleaner.
         self._lock_acquire()
         try:
             if self._packt != z64:




More information about the Zope3-Checkins mailing list