2006-08-20 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix CHAN parsing for family svn: r7220
This commit is contained in:
parent
ead3374396
commit
5f2ed45b6d
@ -1,3 +1,6 @@
|
|||||||
|
2006-08-20 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/GrampsDb/_ReadGedcom.py: fix CHAN parsing for family
|
||||||
|
|
||||||
2006-08-20 Brian Matherly <brian@gramps-project.org>
|
2006-08-20 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/EventCmp.py: improve Date/Place display (#0000226)
|
* src/plugins/EventCmp.py: improve Date/Place display (#0000226)
|
||||||
|
|
||||||
|
@ -659,7 +659,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
TOKEN_RIN : self.func_family_ignore,
|
TOKEN_RIN : self.func_family_ignore,
|
||||||
TOKEN_SUBM : self.func_family_ignore,
|
TOKEN_SUBM : self.func_family_ignore,
|
||||||
TOKEN_REFN : self.func_family_ignore,
|
TOKEN_REFN : self.func_family_ignore,
|
||||||
TOKEN_CHAN : self.func_family_ignore,
|
TOKEN_CHAN : self.func_family_chan,
|
||||||
TOKEN_OBJE : self.func_family_object,
|
TOKEN_OBJE : self.func_family_object,
|
||||||
TOKEN__COMM : self.func_family_comm,
|
TOKEN__COMM : self.func_family_comm,
|
||||||
TOKEN_NOTE : self.func_family_note,
|
TOKEN_NOTE : self.func_family_note,
|
||||||
@ -2479,7 +2479,7 @@ class GedcomParser(UpdateCallback):
|
|||||||
self.parse_change(matches, state.person, state.level+1)
|
self.parse_change(matches, state.person, state.level+1)
|
||||||
|
|
||||||
def func_family_chan(self, family, matches, level):
|
def func_family_chan(self, family, matches, level):
|
||||||
self.parse_change(matches, family, level+1)
|
self.parse_change(matches, family, level)
|
||||||
|
|
||||||
def func_source_chan(self, matches, source, level):
|
def func_source_chan(self, matches, source, level):
|
||||||
self.parse_change(matches, source, level+1)
|
self.parse_change(matches, source, level+1)
|
||||||
@ -2506,7 +2506,6 @@ class GedcomParser(UpdateCallback):
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
matches = self.get_next()
|
matches = self.get_next()
|
||||||
|
|
||||||
if self.level_is_finished(matches, level):
|
if self.level_is_finished(matches, level):
|
||||||
break
|
break
|
||||||
elif matches[1] == TOKEN_TIME:
|
elif matches[1] == TOKEN_TIME:
|
||||||
|
Loading…
Reference in New Issue
Block a user