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