From 9e34031bcff667d2ae3fa80df7b49bf6417be51a Mon Sep 17 00:00:00 2001 From: Tim G L Lyons Date: Sat, 11 Feb 2012 18:55:53 +0000 Subject: [PATCH] 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 --- src/plugins/lib/libgedcom.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/lib/libgedcom.py b/src/plugins/lib/libgedcom.py index f8d430e74..86aaeab2d 100644 --- a/src/plugins/lib/libgedcom.py +++ b/src/plugins/lib/libgedcom.py @@ -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,