From fbeab25019a66785c8dcdbe617e1b8beaeb23829 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sun, 22 Aug 2004 12:06:19 +0000 Subject: [PATCH] 2004-08-22 Tim Waugh * src/WriteXML.py (write_xml_data): Fixed typo causing XML export to omit all place definitions. svn: r3469 --- gramps2/ChangeLog | 2 ++ gramps2/src/WriteXML.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index de3605efb..69e9ba474 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2004-08-22 Tim Waugh + * src/WriteXML.py (write_xml_data): Fixed typo causing XML export to + omit all place definitions. * src/RelLib.py (probably_alive): Fixed typo (bug #1012347). 2004-08-21 Alex Roitman diff --git a/gramps2/src/WriteXML.py b/gramps2/src/WriteXML.py index a40fa150a..0d1ace4b5 100644 --- a/gramps2/src/WriteXML.py +++ b/gramps2/src/WriteXML.py @@ -374,7 +374,7 @@ class XmlWriter: keys.sort () for key in keys: try: - place = self.db.get_place_handle(key) + place = self.db.get_place_from_handle(key) if self.callback and count % delta == 0: self.callback(float(count)/float(total)) self.write_place_obj(place)