Commit cc2c26b9 by John Hess

reverted change to definition to/from xml

parent 6e92666a
......@@ -176,10 +176,9 @@ class FolditDescriptor(XmlDescriptor, EditingDescriptor):
@classmethod
def definition_from_xml(cls, xml_object, system):
""" Get the xml_object's attributes. """
"""
Get the xml_object's attributes.
"""
return {'metadata': xml_object.attrib}
def definition_to_xml(self):
xml_object = etree.Element('foldit')
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