reverted change to definition to/from xml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user