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

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



svn: r8565
This commit is contained in:
Alex Roitman 2007-06-17 00:47:33 +00:00
parent 9059ddedec
commit 10430f3321
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/GrampsDbUtils/_ReadXML.py (start_url): Correctly parse url type.
2007-06-16 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: additional database path
* src/Config/_GrampsConfigKeys.py: additional database path

View File

@ -1009,7 +1009,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: