Commit 0ace6ed8 by 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
1 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):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!