From c7ffa8d075ca6340f76c6e8840b96e330024c836 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Wed, 11 Jun 2014 10:06:21 -0700 Subject: [PATCH] 7398: Gedcom import deletes first char of notes --- gramps/plugins/lib/libgedcom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/lib/libgedcom.py b/gramps/plugins/lib/libgedcom.py index 940809186..a5225a95c 100644 --- a/gramps/plugins/lib/libgedcom.py +++ b/gramps/plugins/lib/libgedcom.py @@ -757,9 +757,9 @@ class Lexer(object): line = line.split('@', 2) # line is now [None, alphanum+pointer_string, rest] tag = '@' + line[1] + '@' - line_value = line[2] + line_value = line[2].lstrip() ## Ignore meaningless @IDENT@ on CONT or CONC line - ## as detailed at http://www.tamurajones.net/IdentCONT.xhtml + ## as noted at http://www.tamurajones.net/IdentCONT.xhtml if (line_value.lstrip().startswith("CONT ") or line_value.lstrip().startswith("CONC ")): line = line_value.lstrip().partition(' ')