* src/GrampsDb/_ReadGedcom.py: handle missing place in LDS ord
svn: r7921
This commit is contained in:
@@ -1827,12 +1827,14 @@ class GedcomParser(UpdateCallback):
|
||||
def parse_ord(self,lds_ord,level):
|
||||
note = ""
|
||||
pf = _place_field
|
||||
place = None
|
||||
|
||||
while True:
|
||||
matches = self.get_next()
|
||||
|
||||
if self.level_is_finished(matches, level):
|
||||
load_place_values(place,place.get_title(),pf)
|
||||
if place:
|
||||
load_place_values(place,place.get_title(),pf)
|
||||
break
|
||||
elif matches[1] == TOKEN_TEMP:
|
||||
value = self.extract_temple(matches)
|
||||
|
Reference in New Issue
Block a user