From 5039ad10f0b4edb7e1374f597ff25f6780a6a950 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 21 Jul 2015 10:18:25 -0400 Subject: [PATCH] 7261: Import GEDCOM file from MyHeritage, added __str__ to Attribute --- gramps/gen/lib/attribute.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gramps/gen/lib/attribute.py b/gramps/gen/lib/attribute.py index dd05d52d9..99bcac126 100644 --- a/gramps/gen/lib/attribute.py +++ b/gramps/gen/lib/attribute.py @@ -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.