Remove non-existent old attribute personal for an event
This commit is contained in:
parent
3f217aeed1
commit
a265f1fd38
@ -1306,10 +1306,8 @@ class GrampsParser(UpdateCallback):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if self.family:
|
if self.family:
|
||||||
event.personal = False
|
|
||||||
self.family.add_event_ref(self.eventref)
|
self.family.add_event_ref(self.eventref)
|
||||||
elif self.person:
|
elif self.person:
|
||||||
event.personal = True
|
|
||||||
if (event.type == EventType.BIRTH) \
|
if (event.type == EventType.BIRTH) \
|
||||||
and (self.eventref.role == EventRoleType.PRIMARY) \
|
and (self.eventref.role == EventRoleType.PRIMARY) \
|
||||||
and (self.person.get_birth_ref() is None):
|
and (self.person.get_birth_ref() is None):
|
||||||
|
Loading…
Reference in New Issue
Block a user