Support _MAR as tag for married name for geni.com (similarly to existing _MARNM). This is related to 0005456: Default log level after installation results in disk being filled on import.

svn: r18863
This commit is contained in:
Tim G L Lyons 2012-02-11 18:55:53 +00:00
parent 5800f46518
commit 9e34031bcf

View File

@ -252,6 +252,7 @@ TOKEN_EMAIL = 124
TOKEN_WWW = 125
TOKEN_URL = 126
TOKEN_ROLE = 127
TOKEN__MAR = 128
TOKENS = {
"HEAD" : TOKEN_HEAD, "MEDI" : TOKEN_MEDI,
@ -355,6 +356,7 @@ TOKENS = {
"FACT" : TOKEN_FACT, "EMAIL" : TOKEN_EMAIL,
"EMAI" : TOKEN_EMAIL, "WWW" : TOKEN_WWW,
"_URL" : TOKEN_URL, "URL" : TOKEN_URL,
"_MAR" : TOKEN__MAR,
}
ADOPT_NONE = 0
@ -1957,6 +1959,7 @@ class GedcomParser(UpdateCallback):
# Extensions
TOKEN_ALIA : self.__name_alia,
TOKEN__MARNM : self.__name_marnm,
TOKEN__MAR : self.__name_marnm, # Generated by gni.com
TOKEN__AKA : self.__name_aka,
TOKEN_TYPE : self.__name_type,
TOKEN_BIRT : self.__ignore,