* src/GrampsDb/_ReadXML.py: save description properly on read

svn: r7343
This commit is contained in:
Don Allingham 2006-10-03 03:21:40 +00:00
parent a216352c07
commit 49f5718af1
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-10-02 Don Allingham <don@gramps-project.org> 2006-10-02 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: save description properly on read
* src/RelLib/_Location.py: call parent class properly * src/RelLib/_Location.py: call parent class properly
* src/Selectors/_SelectPlace.py: use proper column for place handle * src/Selectors/_SelectPlace.py: use proper column for place handle
* src/DisplayModels/_PlaceModel.py: specify place handle * src/DisplayModels/_PlaceModel.py: specify place handle

View File

@ -964,7 +964,7 @@ class GrampsParser(UpdateCallback):
return return
url = RelLib.Url() url = RelLib.Url()
url.path = attrs["href"] url.path = attrs["href"]
url.description = attrs.get("description",'') url.set_description(attrs.get("description",''))
url.privacy = bool(attrs.get('priv')) url.privacy = bool(attrs.get('priv'))
url.type.set_from_xml_str(attrs['type']) url.type.set_from_xml_str(attrs['type'])
if self.person: if self.person: