[Erp5-report] r35330 nicolas - /erp5/trunk/products/ERP5/mixin/base_convertable_and_file.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 14 13:00:47 CEST 2010
Author: nicolas
Date: Fri May 14 13:00:46 2010
New Revision: 35330
URL: http://svn.erp5.org?rev=35330&view=rev
Log:
size property store the size of data not base_data.
Do not override this value when store base_data on document.
Modified:
erp5/trunk/products/ERP5/mixin/base_convertable_and_file.py
Modified: erp5/trunk/products/ERP5/mixin/base_convertable_and_file.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/mixin/base_convertable_and_file.py?rev=35330&r1=35329&r2=35330&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/mixin/base_convertable_and_file.py [utf8] (original)
+++ erp5/trunk/products/ERP5/mixin/base_convertable_and_file.py [utf8] Fri May 14 13:00:46 2010
@@ -56,5 +56,4 @@
if not isinstance(data, Pdata) and data is not None:
file = cStringIO.StringIO(data)
data, size = self._read_data(file)
- self._setSize(size)
self._baseSetBaseData(data)
More information about the Erp5-report
mailing list