Commit 5272aa57 authored by Jim Fulton's avatar Jim Fulton

Removed unneeded import and added back and adjusted comment.

parent 86e62dae
......@@ -26,7 +26,6 @@ from struct import pack
from struct import unpack
from persistent.TimeStamp import TimeStamp
from six import PY3
from six import string_types as STRING_TYPES
from zc.lockfile import LockFile
from zope.interface import alsoProvides
......@@ -2102,6 +2101,8 @@ class FilePool:
This is required if they contain data of rolled back transactions.
"""
# Unfortunately, Python 3.x has no API to flush read buffers, and
# the API is ineffective in Python 2 on Mac OS X.
with self.write_lock():
self.empty()
......
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