#2644: Do not export individual events without primary role
svn: r16031
This commit is contained in:
parent
403bea5f2c
commit
a8ab3b5f4e
@ -618,6 +618,11 @@ class GedcomWriter(UpdateCallback):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
val = libgedcom.personalConstantEvents.get(etype, "").strip()
|
val = libgedcom.personalConstantEvents.get(etype, "").strip()
|
||||||
|
|
||||||
|
role = int(event_ref.get_role())
|
||||||
|
|
||||||
|
if role != gen.lib.EventRoleType.PRIMARY:
|
||||||
|
continue
|
||||||
|
|
||||||
if val and val.strip():
|
if val and val.strip():
|
||||||
if val in NEEDS_PARAMETER:
|
if val in NEEDS_PARAMETER:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user