2007-10-05 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: issue #1169, wrong GEDCOM parse ADDR svn: r9080
This commit is contained in:
parent
cf5ae68625
commit
5bdeeeb762
@ -1,3 +1,6 @@
|
||||
2007-10-05 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/GrampsDb/_ReadGedcom.py: issue #1169, wrong GEDCOM parse ADDR
|
||||
|
||||
2007-10-05 James G. Sack <jgsack@san.rr.com>
|
||||
* src/GrampsDb/_GrampsDbBase.py:
|
||||
* src/GrampsDb/_GrampsGEDDB.py:
|
||||
|
@ -1969,14 +1969,12 @@ class GedcomParser(UpdateCallback):
|
||||
if place_handle:
|
||||
place = self.db.get_place_from_handle(place_handle)
|
||||
main_loc = place.get_main_location()
|
||||
try:
|
||||
if main_loc and main_loc.get_street() != location.get_street():
|
||||
if main_loc and location and \
|
||||
main_loc.get_street() != location.get_street():
|
||||
old_title = place.get_title()
|
||||
place = self.find_or_create_place(index)
|
||||
place.set_title(old_title)
|
||||
place_handle = place.handle
|
||||
except:
|
||||
print matches
|
||||
else:
|
||||
place = self.find_or_create_place(index)
|
||||
place.set_title(matches[2])
|
||||
|
Loading…
x
Reference in New Issue
Block a user