Update filters and plugins for new place objects

svn: r347
This commit is contained in:
Don Allingham
2001-08-19 03:53:02 +00:00
parent 3513293052
commit 49a308952b
12 changed files with 410 additions and 104 deletions

View File

@ -616,7 +616,7 @@ class GedcomParser:
elif matches[1] == "BIRT":
event = Event()
if self.person.getBirth().getDate() != "" or \
self.person.getBirth().getPlace() != "":
self.person.getBirth().getPlace().get_title() != "":
event.setName("Alternate Birth")
self.person.addEvent(event)
else:
@ -631,7 +631,7 @@ class GedcomParser:
elif matches[1] == "DEAT":
event = Event()
if self.person.getDeath().getDate() != "" or \
self.person.getDeath().getPlace() != "":
self.person.getDeath().getPlace().get_title() != "":
event.setName("Alternate Death")
self.person.addEvent(event)
else: