From 4037105e4fa8a4ff74f9fbd1b193f85d3ba05097 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 10 Oct 2011 01:16:32 +0000 Subject: [PATCH] Another fix for idempotent export/import round trip svn: r18272 --- src/plugins/export/ExportXml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/export/ExportXml.py b/src/plugins/export/ExportXml.py index c8be4e793..982b1ec5c 100644 --- a/src/plugins/export/ExportXml.py +++ b/src/plugins/export/ExportXml.py @@ -511,10 +511,10 @@ class GrampsXmlWriter(UpdateCallback): self.write_attribute_list(person.get_attribute_list()) self.write_url_list(person.get_url_list(),index+1) - for family_handle in person.get_parent_family_handle_list(): + for family_handle in sorted(person.get_parent_family_handle_list()): self.write_ref("childof",family_handle,index+1) - for family_handle in person.get_family_handle_list(): + for family_handle in sorted(person.get_family_handle_list()): self.write_ref("parentin",family_handle,index+1) for person_ref in person.get_person_ref_list():