Commit 22f4b9e0 authored by Tim Peters's avatar Tim Peters

Repaired partly inaccurate comment about _packt.

parent f2e48304
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
############################################################################## ##############################################################################
"""Storage implementation using a log written to a single file. """Storage implementation using a log written to a single file.
$Revision: 1.8 $ $Revision: 1.9 $
""" """
import base64 import base64
...@@ -1319,7 +1319,10 @@ class FileStorage(BaseStorage.BaseStorage, ...@@ -1319,7 +1319,10 @@ class FileStorage(BaseStorage.BaseStorage,
if not self._index: if not self._index:
return 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() self._lock_acquire()
try: try:
if self._packt != z64: if self._packt != z64:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment