[CMF-checkins] CVS: CMF/CMFCore - FSFile.py:1.6.10.1
Kapil Thangavelu
hazmat at objectrealms.net
Tue Mar 30 16:05:19 EST 2004
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv31631
Modified Files:
Tag: CMF-1_4-branch
FSFile.py
Log Message:
- fix str( ) on an fs file for 1.4 branch
=== CMF/CMFCore/FSFile.py 1.6 => 1.6.10.1 ===
--- CMF/CMFCore/FSFile.py:1.6 Thu Feb 20 10:16:51 2003
+++ CMF/CMFCore/FSFile.py Tue Mar 30 16:04:48 2004
@@ -75,8 +75,10 @@
return data
#### The following is mainly taken from OFS/File.py ###
-
- __str__ = File.__str__
+
+ def __str__(self):
+ self._updateFromFS()
+ return str( self._readFile( 0 ) )
security.declareProtected(View, 'index_html')
def index_html(self, REQUEST, RESPONSE):
More information about the CMF-checkins
mailing list