[Zope3-checkins] CVS: Zope3/src/zope/app/fssync - classes.py:1.14

Fred L. Drake, Jr. fred at zope.com
Tue Sep 2 17:32:10 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/fssync
In directory cvs.zope.org:/tmp/cvs-serv14297

Modified Files:
	classes.py 
Log Message:
Default.getBody():  Since the associated setBody() implementation
   assumes that the data is an XML pickle, getBody() doesn't have the
   option of not providing an XML pickle if it's intended that the
   data can be updated via filesystem synchronization.  This
   limitation should be fixed in the future, but this isn't the way to
   do it.


=== Zope3/src/zope/app/fssync/classes.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/fssync/classes.py:1.13	Sun Aug 17 02:06:34 2003
+++ Zope3/src/zope/app/fssync/classes.py	Tue Sep  2 16:32:09 2003
@@ -95,8 +95,6 @@
 
     def getBody(self):
         "See IObjectFile"
-        if type(self.context) is str:
-            return self.context
         return dumps(self.context)
 
     def setBody(self, body):




More information about the Zope3-Checkins mailing list