From 49f5718af165d35c11b301dd0895596c6666f342 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 3 Oct 2006 03:21:40 +0000 Subject: [PATCH] * src/GrampsDb/_ReadXML.py: save description properly on read svn: r7343 --- gramps2/ChangeLog | 1 + gramps2/src/GrampsDb/_ReadXML.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 52b36fdec..eb2e34903 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-10-02 Don Allingham + * src/GrampsDb/_ReadXML.py: save description properly on read * src/RelLib/_Location.py: call parent class properly * src/Selectors/_SelectPlace.py: use proper column for place handle * src/DisplayModels/_PlaceModel.py: specify place handle diff --git a/gramps2/src/GrampsDb/_ReadXML.py b/gramps2/src/GrampsDb/_ReadXML.py index 2ce0da5ed..6ba6ac323 100644 --- a/gramps2/src/GrampsDb/_ReadXML.py +++ b/gramps2/src/GrampsDb/_ReadXML.py @@ -964,7 +964,7 @@ class GrampsParser(UpdateCallback): return url = RelLib.Url() url.path = attrs["href"] - url.description = attrs.get("description",'') + url.set_description(attrs.get("description",'')) url.privacy = bool(attrs.get('priv')) url.type.set_from_xml_str(attrs['type']) if self.person: