[Zope-CVS] CVS: Products/AdaptableStorage/gateway_fs - FSFileData.py:1.4

Shane Hathaway shane@zope.com
Mon, 9 Dec 2002 15:27:39 -0500


Update of /cvs-repository/Products/AdaptableStorage/gateway_fs
In directory cvs.zope.org:/tmp/cvs-serv10661/gateway_fs

Modified Files:
	FSFileData.py 
Log Message:
Added two mappers to Zope2FS for serializing any kind of object.  If no mapper
is provided for a class, the database falls back to a default mapper--either
the "fileish" or the "folderish" mapper.

... which is *really cool*. :-)  I've been trying to achieve this in a clean
way for months.  (Deeeeep, loooonnnnnggggg sigh of relief!)



=== Products/AdaptableStorage/gateway_fs/FSFileData.py 1.3 => 1.4 ===
--- Products/AdaptableStorage/gateway_fs/FSFileData.py:1.3	Mon Dec  9 13:25:27 2002
+++ Products/AdaptableStorage/gateway_fs/FSFileData.py	Mon Dec  9 15:27:08 2002
@@ -36,7 +36,7 @@
         c = self.fs_conn
         p = event.getKeychain()[-1]
         assert c.readNodeType(p) == 'f'
-        state = c.readData(p, '')
+        state = c.readData(p)
         return state, state
 
     def store(self, event, state):