* src/plugins/ReadGedcom.py (GedcomParser.__init__):

Build translation map of correct length.


svn: r2284
This commit is contained in:
Alex Roitman 2003-10-23 15:33:57 +00:00
parent dc115bc519
commit 1e54886508
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-10-23 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/ReadGedcom.py (GedcomParser.__init__):
Build translation map of correct length.
2003-10-22 Don Allingham <dallingham@users.sourceforge.net> 2003-10-22 Don Allingham <dallingham@users.sourceforge.net>
* src/GrampsParser.py: remove debugging statement * src/GrampsParser.py: remove debugging statement
* src/RelLib.py: remove debugging statement * src/RelLib.py: remove debugging statement

View File

@ -18,6 +18,8 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# #
# $Id$
"Import from GEDCOM" "Import from GEDCOM"
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -230,7 +232,7 @@ class GedcomParser:
self.trans = string.maketrans('','') self.trans = string.maketrans('','')
self.delc = self.trans[0:31] self.delc = self.trans[0:31]
self.trans2 = self.trans[0:127] + ('?' * 128) self.trans2 = self.trans[0:128] + ('?' * 128)
self.window = window self.window = window
if window: if window: