From: José Matox Date: Sat, 7 Jun 2003 10:04:43 +0000 (+0000) Subject: small fix to work with X-Git-Tag: 1.6.10~16666 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=856b10ecaf080e1fcf04ddc666e3b14104cc2aa5;p=features.git small fix to work with csv2lyx files, already present in 1.3.x git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7133 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 737623cadc..9b3067341b 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-06-07 José Matos + + * lyx2lyx/lyxconvert_216 (update_tabular): small fix to work with + csv2lyx files. + 2003-06-06 José Matos * lyx2lyx/lyxconvert_215 (remove_space_in_units): fix bug 763. diff --git a/lib/lyx2lyx/lyxconvert_216.py b/lib/lyx2lyx/lyxconvert_216.py index 82832b00b4..bb500c9f89 100644 --- a/lib/lyx2lyx/lyxconvert_216.py +++ b/lib/lyx2lyx/lyxconvert_216.py @@ -99,7 +99,7 @@ def update_tabular(lines): # the end variable refers to cell end, not to file end. end = find_tokens(lines, ['\\layout','\\the_end','\\end_deeper','\\end_float'], i) else: - end = find_token(lines, '\\newline ', i) + end = find_token(lines, '\\newline', i) if end == -1: sys.stderr.write("Malformed lyx file\n")