Handle Mother relationship better
svn: r988
This commit is contained in:
parent
10237d2d93
commit
061645d734
@ -325,7 +325,7 @@ def dump_person(person_list,file,adoptionsdashed,arrowheadstyle,arrowtailstyle):
|
|||||||
mother = family.getMother()
|
mother = family.getMother()
|
||||||
if mother and mother in person_list:
|
if mother and mother in person_list:
|
||||||
mid = string.replace(mother.getId(),'-','_')
|
mid = string.replace(mother.getId(),'-','_')
|
||||||
file.write('p%s -> p%s [' % (pid, fid))
|
file.write('p%s -> p%s [' % (pid, mid))
|
||||||
file.write('arrowhead=%s, arrowtail=%s, ' % (arrowheadstyle, arrowtailstyle))
|
file.write('arrowhead=%s, arrowtail=%s, ' % (arrowheadstyle, arrowtailstyle))
|
||||||
if adoptionsdashed and mrel != _("Birth"):
|
if adoptionsdashed and mrel != _("Birth"):
|
||||||
file.write('style=dashed')
|
file.write('style=dashed')
|
||||||
|
Loading…
Reference in New Issue
Block a user