2007-09-13 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomTokens.py: fix typo * src/GrampsDbUtils/_GedcomLex.py: fix typo svn: r8972
This commit is contained in:
parent
997252630b
commit
a28028f541
@ -1,3 +1,7 @@
|
||||
2007-09-13 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDbUtils/_GedcomTokens.py: fix typo
|
||||
* src/GrampsDbUtils/_GedcomLex.py: fix typo
|
||||
|
||||
2007-09-13 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/plugins/lineage.py: Final touches, loop detection
|
||||
|
||||
|
@ -365,7 +365,7 @@ class Reader:
|
||||
except:
|
||||
continue
|
||||
|
||||
token = tokens.get(line[1], GedcomTokens.TOKEN_UNKNOWN)
|
||||
token = GedcomTokens.TOKENS.get(line[1], GedcomTokens.TOKEN_UNKNOWN)
|
||||
data = (level, token, line[2], line[1], self.index)
|
||||
|
||||
func = self.func_map.get(data[1])
|
||||
|
@ -140,7 +140,7 @@ TOKEN_LATI = 121
|
||||
TOKEN_LONG = 122
|
||||
TOKEN_FACT = 123
|
||||
|
||||
tokens = {
|
||||
TOKENS = {
|
||||
"HEAD" : TOKEN_HEAD, "MEDI" : TOKEN_MEDI,
|
||||
"HEADER" : TOKEN_HEAD, "TRAILER" : TOKEN_TRLR,
|
||||
"CALL_NUMBER" : TOKEN_CALN, "MEDIA" : TOKEN_MEDI,
|
||||
|
Loading…
Reference in New Issue
Block a user