Commit f8e8d7c4 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[xsd gen] Drop dead code

no more seda_id in the schema
parent b02d94fc3a8e
...@@ -338,9 +338,6 @@ def xsd_serialize(value): ...@@ -338,9 +338,6 @@ def xsd_serialize(value):
if hasattr(value, 'id'): if hasattr(value, 'id'):
# value is something in the profile which has a id # value is something in the profile which has a id
return value.id return value.id
if hasattr(value, 'seda_id'):
# value is something in the profile which has a id
return value.seda_id[0].id if value.seda_id else None
if hasattr(value, 'eid'): if hasattr(value, 'eid'):
return None # XXX return None # XXX
if isinstance(value, bool): if isinstance(value, bool):
......
Supports Markdown
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