diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index ab3bc0a3d..12a2a9de9 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -25,6 +25,7 @@ * src/gramps_main.py: add the new filter to the menu. * src/RelLib.py (Event,Source): fix get_text_data_child_list() to correct attributes of the class; (Family): fix get_sourcref_child_list(). + * src/plugins/ImportGeneWeb.py: fixed small typos 2005-03-14 Alex Roitman * src/AddSpouse.py (select_spouse_clicked): Prevent adding oneself diff --git a/gramps2/src/plugins/ImportGeneWeb.py b/gramps2/src/plugins/ImportGeneWeb.py index 73be87877..89a3d75fa 100644 --- a/gramps2/src/plugins/ImportGeneWeb.py +++ b/gramps2/src/plugins/ImportGeneWeb.py @@ -238,7 +238,7 @@ class GeneWebParser: if child: self.current_family.add_child_handle(child.get_handle()) self.db.commit_family(self.current_family,self.trans) - child.add_parent_family_handle(self.current_family.get_handle(),"Birth","Birth") + child.add_parent_family_handle(self.current_family.get_handle(),RelLib.Person.CHILD_REL_BIRTH,RelLib.Person.CHILD_REL_BIRTH) self.db.commit_person(child,self.trans) else: break @@ -324,7 +324,7 @@ class GeneWebParser: sep_date = self.parse_date(self.decode(fields[idx])) #print " Seperated since: %s" % fields[idx] idx = idx + 1 - elif fields[idx] == "#np": + elif fields[idx] == "#nm": #print " Are not married." married = 0 idx = idx + 1 @@ -505,7 +505,7 @@ class GeneWebParser: #print "Cremention Date: %s" % fields[idx] crem_date = self.parse_date(self.decode(fields[idx])) idx = idx + 1 - elif fields[idx] == '#bp': + elif fields[idx] == '#rp': idx = idx + 1 #print "Burial Place: %s" % fields[idx] bur_place = self.get_or_create_place(self.decode(fields[idx]))