From 00e46b9a0cc13cbe38b8898ec1ce6bce75a7ce46 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 15 May 2006 05:37:54 +0000 Subject: [PATCH] * src/GrampsDb/_ReadXML.py (start_url): Parse URL type. svn: r6666 --- gramps2/ChangeLog | 1 + gramps2/src/GrampsDb/_ReadXML.py | 1 + 2 files changed, 2 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 8b037a81f..87becf86b 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,5 @@ 2006-05-14 Alex Roitman + * src/GrampsDb/_ReadXML.py (start_url): Parse URL type. * example/gramps/exapmle.gramps: Add repositories, use new XML. * example/gramps/data.gramps: Add repositories, use new XML. * src/DateHandler/__init__.py: Remove unneeded imports. diff --git a/gramps2/src/GrampsDb/_ReadXML.py b/gramps2/src/GrampsDb/_ReadXML.py index 2d7a6cca4..0058c42ae 100644 --- a/gramps2/src/GrampsDb/_ReadXML.py +++ b/gramps2/src/GrampsDb/_ReadXML.py @@ -903,6 +903,7 @@ class GrampsParser(UpdateCallback): url.path = attrs["href"] url.description = attrs.get("description",'') url.privacy = bool(attrs.get('priv')) + url.type.set_from_xml_str(attrs['type']) if self.person: self.person.add_url(url) elif self.placeobj: