2004-08-22 Tim Waugh <twaugh@redhat.com>

* src/ReadXML.py (GrampsParser.start_object): Set GRAMPS ID.


svn: r3474
This commit is contained in:
Tim Waugh 2004-08-22 16:18:33 +00:00
parent 49e9629d04
commit 3660a257ed
2 changed files with 6 additions and 0 deletions

View File

@ -1,4 +1,7 @@
2004-08-22 Tim Waugh <twaugh@redhat.com>
* src/ReadXML.py (GrampsParser.start_object): Set GRAMPS ID.
* src/WriteXML.py (write_xml_data): Fixed typo causing XML export to
omit all place definitions.
(XmlWriter.write_xml_data): Sort person IDs before writing.
@ -8,6 +11,8 @@
(XmlWriter.write_xml_data): Sort family IDs before writing.
(XmlWriter.write_xml_data): Fixed families output by preventing
confusion between handles and GRAMPS IDs.
(XmlWriter.write_xml_data): Sort object IDs before writing.
(XmlWriter.write_object): Use GRAMPS ID not DB handle.
* src/RelLib.py (probably_alive): Fixed typo (bug #1012347).

View File

@ -762,6 +762,7 @@ class GrampsParser:
def start_object(self,attrs):
self.object = self.db.find_object_from_handle(attrs['id'],self.trans)
self.object.set_gramps_id(attrs['id'])
self.object.set_mime_type(attrs['mime'])
self.object.set_description(attrs['description'])
src = attrs["src"]