From ac4e25bffcf2af0b7242be647555b9b9d075a4df Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 11 Apr 2010 13:09:23 +0000 Subject: [PATCH] 3830: 'Merged GRAMPS ID' attribute overwritten on PeopleMerge by MD Nauta svn: r15080 --- src/Merge/_MergePerson.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Merge/_MergePerson.py b/src/Merge/_MergePerson.py index dab4a8bd6..ce5cf353e 100644 --- a/src/Merge/_MergePerson.py +++ b/src/Merge/_MergePerson.py @@ -433,8 +433,9 @@ class MergePeople(object): self.db.set_birth_death_index(new) - # copy attributes - new.set_attribute_list(self.p1.get_attribute_list() + + # add other attributes to new, which may alreay have + # some attributes from the merger + map(new.add_attribute, self.p1.get_attribute_list() + self.p2.get_attribute_list()) # copy addresses