Commit 0ace6ed8 authored by Sebastien Robin's avatar Sebastien Robin

BTreeData: change zodb representatin of big file data

This break existing stored data, though we assume this is not an
issue since this is not used yet except for a prototype
parent a71ef5bd
......@@ -11,6 +11,10 @@ class PersistentString(Persistent):
def __str__(self):
return self.value
# Save place when storing this data in zodb
__getstate__ = __str__
__setstate__ = __init__
negative_offset_error = ValueError('Negative offset')
class BTreeData(Persistent):
......
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