* src/plugins/GraphViz.py (dump_person): Correctly test for birth
relations. svn: r4900
This commit is contained in:
parent
3469687010
commit
2bdf0bb220
@ -1,3 +1,7 @@
|
||||
2005-07-03 Alex Roitman <shura@gramps-project.org>
|
||||
* src/plugins/GraphViz.py (dump_person): Correctly test for birth
|
||||
relations.
|
||||
|
||||
2005-07-03 Eero Tamminen <eerot@sf>
|
||||
* src/po/fi.po: Updated translated to latest template
|
||||
|
||||
|
@ -48,6 +48,7 @@ import Report
|
||||
import ReportOptions
|
||||
import GenericFilter
|
||||
import const
|
||||
import RelLib
|
||||
from BaseDoc import PAPER_LANDSCAPE
|
||||
from latin_utf8 import utf8_to_latin
|
||||
from QuestionDialog import ErrorDialog
|
||||
@ -233,8 +234,8 @@ class GraphViz:
|
||||
family = self.database.get_family_from_handle(family_handle)
|
||||
father_handle = family.get_father_handle()
|
||||
mother_handle = family.get_mother_handle()
|
||||
fadopted = frel != _("Birth")
|
||||
madopted = mrel != _("Birth")
|
||||
fadopted = frel != RelLib.Person.CHILD_REL_BIRTH
|
||||
madopted = mrel != RelLib.Person.CHILD_REL_BIRTH
|
||||
famid = family.get_gramps_id().replace('-','_')
|
||||
if (self.show_families and
|
||||
(father_handle and person_dict.has_key(father_handle) or
|
||||
|
Loading…
Reference in New Issue
Block a user