[Zodb-checkins] SVN: ZODB/branches/3.9/src/ZODB/FileStorage/FileStorage.py Make sure stupid tests don't pass None instead of referencesf.
Jim Fulton
jim at zope.com
Thu Oct 1 15:18:29 EDT 2009
Log message for revision 104697:
Make sure stupid tests don't pass None instead of referencesf.
Changed:
U ZODB/branches/3.9/src/ZODB/FileStorage/FileStorage.py
-=-
Modified: ZODB/branches/3.9/src/ZODB/FileStorage/FileStorage.py
===================================================================
--- ZODB/branches/3.9/src/ZODB/FileStorage/FileStorage.py 2009-10-01 19:17:28 UTC (rev 104696)
+++ ZODB/branches/3.9/src/ZODB/FileStorage/FileStorage.py 2009-10-01 19:18:28 UTC (rev 104697)
@@ -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 @@
# 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:
More information about the Zodb-checkins
mailing list