From 6f88d70324bef00f5f39749cbf29202c6824c0ee 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 --- ChangeLog | 1 + src/GrampsDb/_ReadXML.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 52b36fdec..eb2e34903 100644 --- a/ChangeLog +++ b/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/src/GrampsDb/_ReadXML.py b/src/GrampsDb/_ReadXML.py index 2ce0da5ed..6ba6ac323 100644 --- a/src/GrampsDb/_ReadXML.py +++ b/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: