svn: r6394
This commit is contained in:
Alex Roitman 2006-04-21 19:11:36 +00:00
parent 1b3b485a09
commit c439e76095

View File

@ -1590,7 +1590,7 @@ class GedcomParser:
name = val name = val
else: else:
name = matches[2] name = matches[2]
attr.set_name(name) attr.set_type(name)
elif matches[1] in (TOKEN_CAUS,TOKEN_DATE,TOKEN_TIME,TOKEN_ADDR, elif matches[1] in (TOKEN_CAUS,TOKEN_DATE,TOKEN_TIME,TOKEN_ADDR,
TOKEN_IGNORE,TOKEN_STAT,TOKEN_TEMP,TOKEN_OBJE): TOKEN_IGNORE,TOKEN_STAT,TOKEN_TEMP,TOKEN_OBJE):
self.ignore_sub_junk(level+1) self.ignore_sub_junk(level+1)