From 05df1cab5693615ba8bf5528c0615cc0be27b6a0 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 18 Aug 2001 19:37:03 +0000 Subject: [PATCH] Fixed parsing of location information svn: r345 --- src/GrampsParser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GrampsParser.py b/src/GrampsParser.py index 87b22117e..37661db45 100644 --- a/src/GrampsParser.py +++ b/src/GrampsParser.py @@ -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: