* src/plugins/ImportGeneWeb.py: fixed small typos

svn: r4188
This commit is contained in:
Martin Hawlisch 2005-03-15 21:04:44 +00:00
parent 56150c93e6
commit 1c452df605
2 changed files with 4 additions and 3 deletions

View File

@ -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 <shura@gramps-project.org>
* src/AddSpouse.py (select_spouse_clicked): Prevent adding oneself

View File

@ -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]))