Commit 830e08db by Julian Arni

Have definition_from_xml return (definition, children)

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