From e7772a2c6b2fa7a057cd4c94b9e6f602425f5734 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Wed, 11 Jun 2014 10:05:47 -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 8952ff4cf..71897a89c 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(' ')