From 1d5bf3f11f21c5b6c9342be4d03bb27ac45f59af Mon Sep 17 00:00:00 2001 From: Jason Zedlitz Date: Sun, 26 Aug 2001 16:46:30 +0000 Subject: [PATCH] problem with sources for a place svn: r366 --- gramps/src/WriteXML.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/src/WriteXML.py b/gramps/src/WriteXML.py index 294d50d94..fb5f54a86 100644 --- a/gramps/src/WriteXML.py +++ b/gramps/src/WriteXML.py @@ -380,6 +380,9 @@ def exportData(database, filename, callback): write_family_id(g,family,2) write_ref(g,"father",family.getFather(),3) write_ref(g,"mother",family.getMother(),3) + pos = family.getPosition() + if pos != None: + g.write(' \n'% pos) for event in family.getEventList(): dump_event(g,event,3) @@ -488,7 +491,7 @@ def exportData(database, filename, callback): g.write('/>\n') if place.getNote() != "": writeNote(g,"note",place.getNote(),3) - dump_source_ref(g,event.getSourceRef(),3) + dump_source_ref(g,place.getSourceRef(),3) g.write(" \n") g.write(" \n")