Commit 9dfe6921 authored by Nicolas Delaby's avatar Nicolas Delaby

Fix a mistake during commit procedure

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35757 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent daebe39f
...@@ -94,4 +94,7 @@ class BaseConvertableFileMixin: ...@@ -94,4 +94,7 @@ class BaseConvertableFileMixin:
def _setBaseData(self, data): def _setBaseData(self, data):
"""Wrap value into Pdata """Wrap value into Pdata
""" """
if not isinstance(data, Pdata) and data is not None:
file = StringIO(data)
data, size = self._read_data(file)
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