reverted change to definition to/from xml

This commit is contained in:
John Hess
2013-03-11 18:04:21 -04:00
parent 6e92666a20
commit cc2c26b924

View File

@@ -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