2007-06-16 Alex Roitman <shura@gramps-project.org>

* src/GrampsDb/_ReadXML.py (start_url): Correctly parse url type.
	


svn: r8564
This commit is contained in:
Alex Roitman 2007-06-17 00:47:26 +00:00
parent 90e09ab9a6
commit 0d32146145
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-06-16 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_ReadXML.py (start_url): Correctly parse url type.
2007-06-16 Brian Pepple <bpepple@fedoraproject.org>
* data/gramps.desktop.in: Fix desktop file to conform to desktop
file specs.

View File

@ -978,7 +978,7 @@ class GrampsParser(UpdateCallback):
url.path = attrs["href"]
url.set_description(attrs.get("description",''))
url.private = bool(attrs.get('priv'))
url.type.set_from_xml_str(attrs['type'])
url.type.set_from_xml_str(attrs.get('type',''))
if self.person:
self.person.add_url(url)
elif self.placeobj: