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

* src/WriteXML.py: Write out 'default' tag on people node for
        compatibility with GRAMPS 1.0.x.


svn: r3505
This commit is contained in:
Tim Waugh 2004-08-24 10:24:17 +00:00
parent 0929184cad
commit c5bad7a635
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-08-24 Tim Waugh <twaugh@redhat.com>
* src/WriteXML.py: Write out 'default' tag on people node for
compatibility with GRAMPS 1.0.x.
2004-08-23 Alex Roitman <shura@alex.neuro.umn.edu>
* src/EdirPerson.py (__init__): Typos.
* src/ArgHandler.py (auto_save_load): Remove new db creation for BSDDB.

View File

@ -236,7 +236,9 @@ class XmlWriter:
self.g.write(" <people")
person = self.db.get_default_person()
if person:
self.g.write(' home="%s"' % person.get_handle())
self.g.write(' default="%s" home="%s"' %
(person.get_gramps_id (),
person.get_handle()))
self.g.write(">\n")
keys = self.db.get_person_handles(sort_handles=False)