Fixed parsing of location information
svn: r345
This commit is contained in:
parent
b731c7b961
commit
27c3d421eb
@ -176,9 +176,9 @@ class GrampsParser(handler.ContentHandler):
|
||||
if attrs.has_key('state'):
|
||||
loc.set_state(u2l(attrs['state']))
|
||||
if attrs.has_key('county'):
|
||||
loc.set_state(u2l(attrs['county']))
|
||||
loc.set_county(u2l(attrs['county']))
|
||||
if attrs.has_key('country'):
|
||||
loc.set_state(u2l(attrs['country']))
|
||||
loc.set_country(u2l(attrs['country']))
|
||||
if attrs.has_key('type'):
|
||||
self.placeobj.add_alternate_locations(loc)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user