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:
parent
90e09ab9a6
commit
0d32146145
@ -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>
|
2007-06-16 Brian Pepple <bpepple@fedoraproject.org>
|
||||||
* data/gramps.desktop.in: Fix desktop file to conform to desktop
|
* data/gramps.desktop.in: Fix desktop file to conform to desktop
|
||||||
file specs.
|
file specs.
|
||||||
|
@ -978,7 +978,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
url.path = attrs["href"]
|
url.path = attrs["href"]
|
||||||
url.set_description(attrs.get("description",''))
|
url.set_description(attrs.get("description",''))
|
||||||
url.private = bool(attrs.get('priv'))
|
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:
|
if self.person:
|
||||||
self.person.add_url(url)
|
self.person.add_url(url)
|
||||||
elif self.placeobj:
|
elif self.placeobj:
|
||||||
|
Loading…
Reference in New Issue
Block a user