Commit 830e08db by Julian Arni

Have definition_from_xml return (definition, children)

parent d44e7272
...@@ -172,10 +172,8 @@ class FolditDescriptor(XmlDescriptor, EditingDescriptor): ...@@ -172,10 +172,8 @@ class FolditDescriptor(XmlDescriptor, EditingDescriptor):
@classmethod @classmethod
def definition_from_xml(cls, xml_object, system): def definition_from_xml(cls, xml_object, system):
""" Get the xml_object's attributes. """ return ({}, [])
return {'metadata': xml_object.attrib}
def definition_to_xml(self): def definition_to_xml(self):
xml_object = etree.Element('foldit') xml_object = etree.Element('foldit')
return xml_object return xml_object
\ No newline at end of file
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