[Erp5-report] r16361 - /erp5/trunk/products/ERP5/Document/File.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Sep 14 13:17:08 CEST 2007
Author: jerome
Date: Fri Sep 14 13:17:08 2007
New Revision: 16361
URL: http://svn.erp5.org?rev=16361&view=rev
Log:
set File.data to an empty string, otherwise get_size will not return 0 on an
empty file.
Modified:
erp5/trunk/products/ERP5/Document/File.py
Modified: erp5/trunk/products/ERP5/Document/File.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/File.py?rev=16361&r1=16360&r2=16361&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/File.py (original)
+++ erp5/trunk/products/ERP5/Document/File.py Fri Sep 14 13:17:08 2007
@@ -84,7 +84,7 @@
# Default global values
content_type = '' # Required for WebDAV support (default value)
- data = 'Empty File' # A hack required to use OFS.Image.index_html without calling OFS.Image.__init__
+ data = '' # A hack required to use OFS.Image.index_html without calling OFS.Image.__init__
# Default Properties
property_sheets = ( PropertySheet.Base
More information about the Erp5-report
mailing list