make attributes editable via XML-RPC
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1650 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
4586801c9e
commit
1b83483e3f
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ def objectAsDict(obj):
|
|||
adapter = ti(obj)
|
||||
for attr in (list(adapter._adapterAttributes) + list(ti)):
|
||||
if attr not in ('__parent__', 'context', 'id', 'name',
|
||||
'title', 'description', 'type'):
|
||||
'title', 'description', 'type', 'data'):
|
||||
value = getattr(adapter, attr)
|
||||
# TODO: better selection and conversion
|
||||
if value is None or type(value) in (str, unicode):
|
||||
|
|
Loading…
Add table
Reference in a new issue