From 1e548865081ff8a72edcb8442025b66e7000d34e Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 23 Oct 2003 15:33:57 +0000 Subject: [PATCH] * src/plugins/ReadGedcom.py (GedcomParser.__init__): Build translation map of correct length. svn: r2284 --- ChangeLog | 4 ++++ src/plugins/ReadGedcom.py | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 97742095f..214b4d5dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-10-23 Alex Roitman + * src/plugins/ReadGedcom.py (GedcomParser.__init__): + Build translation map of correct length. + 2003-10-22 Don Allingham * src/GrampsParser.py: remove debugging statement * src/RelLib.py: remove debugging statement diff --git a/src/plugins/ReadGedcom.py b/src/plugins/ReadGedcom.py index 21959b38d..5578ce1cc 100644 --- a/src/plugins/ReadGedcom.py +++ b/src/plugins/ReadGedcom.py @@ -18,6 +18,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# $Id$ + "Import from GEDCOM" #------------------------------------------------------------------------- @@ -230,7 +232,7 @@ class GedcomParser: self.trans = string.maketrans('','') self.delc = self.trans[0:31] - self.trans2 = self.trans[0:127] + ('?' * 128) + self.trans2 = self.trans[0:128] + ('?' * 128) self.window = window if window: