Commit 4f045d85 authored by Jim Fulton's avatar Jim Fulton

Make sure stupid tests don't pass None instead of referencesf.

parent 9269dbdb
......@@ -12,8 +12,6 @@
#
##############################################################################
"""Storage implementation using a log written to a single file.
$Revision: 1.16 $
"""
from cPickle import Pickler, Unpickler, loads
......@@ -1076,6 +1074,7 @@ class FileStorage(
# Our default packer is built around the original packer. We
# simply adapt the old interface to the new. We don't really
# want to invest much in the old packer, at least for now.
assert referencesf is not None
p = FileStoragePacker(storage, referencesf, stop, gc)
opos = p.pack()
if opos is None:
......
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