* src/GrampsDb/_ReadXML.py (start_url): Parse URL type.
svn: r6666
This commit is contained in:
parent
1636a418cd
commit
4a72a456d8
@ -1,4 +1,5 @@
|
|||||||
2006-05-14 Alex Roitman <shura@gramps-project.org>
|
2006-05-14 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/GrampsDb/_ReadXML.py (start_url): Parse URL type.
|
||||||
* example/gramps/exapmle.gramps: Add repositories, use new XML.
|
* example/gramps/exapmle.gramps: Add repositories, use new XML.
|
||||||
* example/gramps/data.gramps: Add repositories, use new XML.
|
* example/gramps/data.gramps: Add repositories, use new XML.
|
||||||
* src/DateHandler/__init__.py: Remove unneeded imports.
|
* src/DateHandler/__init__.py: Remove unneeded imports.
|
||||||
|
@ -903,6 +903,7 @@ class GrampsParser(UpdateCallback):
|
|||||||
url.path = attrs["href"]
|
url.path = attrs["href"]
|
||||||
url.description = attrs.get("description",'')
|
url.description = attrs.get("description",'')
|
||||||
url.privacy = bool(attrs.get('priv'))
|
url.privacy = bool(attrs.get('priv'))
|
||||||
|
url.type.set_from_xml_str(attrs['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