4455: Family Tree Maker now uses 'FTM' gedcom header

svn: r17163
This commit is contained in:
Jérôme Rapinat 2011-04-20 10:39:33 +00:00
parent 82f955011f
commit fe50ed38db

View File

@ -4204,7 +4204,7 @@ class GedcomParser(UpdateCallback):
def __family_frel(self, line, state):
"""
The _FREL key is a FTW specific extension to indicate father/child
The _FREL key is a FTW/FTM specific extension to indicate father/child
relationship.
n _FREL <type>
@ -4218,7 +4218,7 @@ class GedcomParser(UpdateCallback):
def __family_mrel(self, line, state):
"""
The _MREL key is a FTW specific extension to indicate father/child
The _MREL key is a FTW/FTM specific extension to indicate father/child
relationship.
n _MREL <type>
@ -5572,7 +5572,7 @@ class GedcomParser(UpdateCallback):
@type state: CurrentState
"""
self.gedsource = self.gedmap.get_from_source_tag(line.data)
if line.data.strip() == "FTW":
if line.data.strip() in ["FTW", "FTM"]:
self.is_ftw = True
state.genby = line.data