From 27c3d421ebe4110fb8302f1d00d86b19cf94036d 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 --- gramps/src/GrampsParser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/src/GrampsParser.py b/gramps/src/GrampsParser.py index 87b22117e..37661db45 100644 --- a/gramps/src/GrampsParser.py +++ b/gramps/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: