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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
74ed8a5f
Commit
74ed8a5f
authored
Oct 01, 2009
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure stupid tests don't pass None instead of referencesf.
parent
8faf6aa4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/ZODB/FileStorage/FileStorage.py
src/ZODB/FileStorage/FileStorage.py
+1
-2
No files found.
src/ZODB/FileStorage/FileStorage.py
View file @
74ed8a5f
...
@@ -12,8 +12,6 @@
...
@@ -12,8 +12,6 @@
#
#
##############################################################################
##############################################################################
"""Storage implementation using a log written to a single file.
"""Storage implementation using a log written to a single file.
$Revision: 1.16 $
"""
"""
from
cPickle
import
Pickler
,
Unpickler
,
loads
from
cPickle
import
Pickler
,
Unpickler
,
loads
...
@@ -1076,6 +1074,7 @@ class FileStorage(
...
@@ -1076,6 +1074,7 @@ class FileStorage(
# Our default packer is built around the original packer. We
# Our default packer is built around the original packer. We
# simply adapt the old interface to the new. We don't really
# simply adapt the old interface to the new. We don't really
# want to invest much in the old packer, at least for now.
# want to invest much in the old packer, at least for now.
assert
referencesf
is
not
None
p
=
FileStoragePacker
(
storage
,
referencesf
,
stop
,
gc
)
p
=
FileStoragePacker
(
storage
,
referencesf
,
stop
,
gc
)
opos
=
p
.
pack
()
opos
=
p
.
pack
()
if
opos
is
None
:
if
opos
is
None
:
...
...
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