[ZODB-Dev] FileStorage modification help
fritz steindl
zope@floSoft.net
Mon, 7 Apr 2003 18:03:09 +0200
hi list,
i try to modify the class FileStorage (in a strange way ;-)
i want to hook before the data is saved to the file, extract some data and
the rest should go to the file
i hope i have identified the method for storing data into the file correctly
------------------------------------------------------------------
def store(self, oid, serial, data, version, transaction):
------------------------------------------------------------------
can somebody please help me with the type of 'data' in this call
in other words - what to do with 'data' that i get a valid python structure
i don't any more know what to try after unpickling, unpacking, loads-ing, ...
many thx in advance
fritz
(-:fs)