[Zodb-checkins] CVS: Zope3/src/zodb/storage - file.py:1.3
Jeremy Hylton
jeremy@zope.com
Tue, 31 Dec 2002 17:42:45 -0500
Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv28429
Modified Files:
file.py
Log Message:
Bump the magic number for a filestorage.
This will invalidate a data.fs. If you don't want to throw it away,
just change edit the magic number by hand -- from "FS21" to "FS40".
=== Zope3/src/zodb/storage/file.py 1.2 => 1.3 ===
--- Zope3/src/zodb/storage/file.py:1.2 Wed Dec 25 09:12:19 2002
+++ Zope3/src/zodb/storage/file.py Tue Dec 31 17:42:45 2002
@@ -155,7 +155,7 @@
assert struct.calcsize(TRANS_HDR) == TRANS_HDR_LEN
assert struct.calcsize(DATA_HDR) == DATA_HDR_LEN
-packed_version = 'FS21'
+packed_version = 'FS40'
logger = logging.getLogger("zodb.storage.file.%s" % packed_version)