diff --git a/ChangeLog b/ChangeLog index 6f2f8f91b..70c354b88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 2006-11-25 Don Allingham + * src/GrampsDb/_ReadGedcom.py: handle _UID for FAM structure (#0000505) * src/docgen/ODFDoc.py: don't query mime type for ODT, since some systems return only "ODT Document", which is kind of useless. Use OpenDocument Text instead. diff --git a/src/GrampsDb/_ReadGedcom.py b/src/GrampsDb/_ReadGedcom.py index 7701be5c0..c6d85668d 100644 --- a/src/GrampsDb/_ReadGedcom.py +++ b/src/GrampsDb/_ReadGedcom.py @@ -1297,6 +1297,11 @@ class GedcomParser(UpdateCallback): if self.level_is_finished(matches, 1): break + if matches[1] == TOKEN__UID: + a = RelLib.Attribute() + a.set_type((RelLib.AttributeType.CUSTOM, matches[3])) + a.set_value(matches[2]) + self.family.add_attribute(a) else: func = self.family_func.get(matches[1], self.func_family_event) func(self.family, matches, 2)