Commit cccf2995 authored by Jérome Perrin's avatar Jérome Perrin

undefined name value_type


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9701 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ca5f361
...@@ -92,7 +92,7 @@ def PropertyManager_setProperty(self, id, value, type=None): ...@@ -92,7 +92,7 @@ def PropertyManager_setProperty(self, id, value, type=None):
elif isinstance(value, float): elif isinstance(value, float):
type = 'float' type = 'float'
elif isinstance(value, basestring): elif isinstance(value, basestring):
if len(value_type.split('\n')) > 1: if len(value.split('\n')) > 1:
type = 'text' type = 'text'
else: else:
type = 'string' type = 'string'
......
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