Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
1a0f448e
Commit
1a0f448e
authored
May 05, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into no-more-load
parents
d90a0243
ee5a462b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
setup.py
setup.py
+2
-2
src/ZODB/FileStorage/FileStorage.py
src/ZODB/FileStorage/FileStorage.py
+3
-7
No files found.
setup.py
View file @
1a0f448e
...
...
@@ -154,10 +154,10 @@ setup(name="ZODB",
'test'
:
tests_require
,
},
install_requires
=
[
'persistent >= 4.
1
.0'
,
'persistent >= 4.
2
.0'
,
'BTrees >= 4.2.0'
,
'ZConfig'
,
'transaction >= 1.
4.4
'
,
'transaction >= 1.
5.0
'
,
'six'
,
'zc.lockfile'
,
'zope.interface'
,
...
...
src/ZODB/FileStorage/FileStorage.py
View file @
1a0f448e
...
...
@@ -25,7 +25,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
...
...
@@ -2103,13 +2102,10 @@ 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
():
if
PY3
:
# Unfortunately, Python 3.x has no API to flush read buffers.
self
.
empty
()
else
:
for
f
in
self
.
_files
:
f
.
flush
()
self
.
empty
()
def
close
(
self
):
with
self
.
_cond
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment