7261: Import GEDCOM file from MyHeritage, added __str__ to Attribute

This commit is contained in:
Doug Blank 2015-07-21 10:18:25 -04:00
parent 4379f42999
commit faba7ddc2c

View File

@ -67,6 +67,9 @@ class AttributeRoot(SecondaryObject, PrivacyBase):
self.type = None
self.value = None
def __str__(self):
return str(self.value)
def serialize(self):
"""
Convert the object to a serialized tuple of data.