Commit 2b432ed7 authored by Nicolas Delaby's avatar Nicolas Delaby

size property store the size of data not base_data.

Do not override this value when store base_data on document.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35330 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d5107927
......@@ -56,5 +56,4 @@ class BaseConvertableAndFileMixin:
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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment