[Zope-Checkins] CVS: Zope/lib/python/OFS - Image.py:1.145.2.5

Brian Lloyd brian at zope.com
Mon Jan 19 11:51:46 EST 2004


Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv15548

Modified Files:
      Tag: Zope-2_7-branch
	Image.py 
Log Message:
fix 1178 (ftp get)


=== Zope/lib/python/OFS/Image.py 1.145.2.4 => 1.145.2.5 ===
--- Zope/lib/python/OFS/Image.py:1.145.2.4	Mon Nov 17 17:34:07 2003
+++ Zope/lib/python/OFS/Image.py	Mon Jan 19 11:51:46 2004
@@ -558,7 +558,9 @@
     def __str__(self): return str(self.data)
     def __len__(self): return 1
 
-    manage_FTPget=index_html
+    def manage_FTPget(self):
+        """Return body for ftp."""
+        return str(self.data)
 
 
 manage_addImageForm=DTMLFile('dtml/imageAdd',globals(),




More information about the Zope-Checkins mailing list