ladon-dev-team team mailing list archive
-
ladon-dev-team team
-
Mailing list archive
-
Message #00144
Re: [Question #239270]: failed when returning empty values
Question #239270 on ladon changed:
https://answers.launchpad.net/ladon/+question/239270
Status: Open => Solved
Mr T confirmed that the question is solved:
To allow empty values to be returned, we can modify the ladontype.py (at
/opt/amiga4gas/environments/env2.7/lib/python2.7/site-
packages/ladon/types/ladontype.py), like this:
if (val is None): # Fix to avoid exception when returning empty values
attr_list += [tc.to_unicode_string("",attr_type[0])]
else:
attr_list += [tc.to_unicode_string(val,attr_type[0])]
--
You received this question notification because you are a member of
Ladon Developer, which is an answer contact for ladon.