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:
parent
5800f46518
commit
9e34031bcf
@ -252,6 +252,7 @@ TOKEN_EMAIL = 124
|
|||||||
TOKEN_WWW = 125
|
TOKEN_WWW = 125
|
||||||
TOKEN_URL = 126
|
TOKEN_URL = 126
|
||||||
TOKEN_ROLE = 127
|
TOKEN_ROLE = 127
|
||||||
|
TOKEN__MAR = 128
|
||||||
|
|
||||||
TOKENS = {
|
TOKENS = {
|
||||||
"HEAD" : TOKEN_HEAD, "MEDI" : TOKEN_MEDI,
|
"HEAD" : TOKEN_HEAD, "MEDI" : TOKEN_MEDI,
|
||||||
@ -355,6 +356,7 @@ TOKENS = {
|
|||||||
"FACT" : TOKEN_FACT, "EMAIL" : TOKEN_EMAIL,
|
"FACT" : TOKEN_FACT, "EMAIL" : TOKEN_EMAIL,
|
||||||
"EMAI" : TOKEN_EMAIL, "WWW" : TOKEN_WWW,
|
"EMAI" : TOKEN_EMAIL, "WWW" : TOKEN_WWW,
|
||||||
"_URL" : TOKEN_URL, "URL" : TOKEN_URL,
|
"_URL" : TOKEN_URL, "URL" : TOKEN_URL,
|
||||||
|
"_MAR" : TOKEN__MAR,
|
||||||
}
|
}
|
||||||
|
|
||||||
ADOPT_NONE = 0
|
ADOPT_NONE = 0
|
||||||
@ -1957,6 +1959,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
# Extensions
|
# Extensions
|
||||||
TOKEN_ALIA : self.__name_alia,
|
TOKEN_ALIA : self.__name_alia,
|
||||||
TOKEN__MARNM : self.__name_marnm,
|
TOKEN__MARNM : self.__name_marnm,
|
||||||
|
TOKEN__MAR : self.__name_marnm, # Generated by gni.com
|
||||||
TOKEN__AKA : self.__name_aka,
|
TOKEN__AKA : self.__name_aka,
|
||||||
TOKEN_TYPE : self.__name_type,
|
TOKEN_TYPE : self.__name_type,
|
||||||
TOKEN_BIRT : self.__ignore,
|
TOKEN_BIRT : self.__ignore,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user