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
This commit is contained in:
José Matox 2003-06-07 10:04:43 +00:00
parent 6653ca2c31
commit 856b10ecaf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-06-07 José Matos <jamatos@fep.up.pt>
* lyx2lyx/lyxconvert_216 (update_tabular): small fix to work with
csv2lyx files.
2003-06-06 José Matos <jamatos@fep.up.pt> 2003-06-06 José Matos <jamatos@fep.up.pt>
* lyx2lyx/lyxconvert_215 (remove_space_in_units): fix bug 763. * lyx2lyx/lyxconvert_215 (remove_space_in_units): fix bug 763.

View File

@ -99,7 +99,7 @@ def update_tabular(lines):
# the end variable refers to cell end, not to file end. # the end variable refers to cell end, not to file end.
end = find_tokens(lines, ['\\layout','\\the_end','\\end_deeper','\\end_float'], i) end = find_tokens(lines, ['\\layout','\\the_end','\\end_deeper','\\end_float'], i)
else: else:
end = find_token(lines, '\\newline ', i) end = find_token(lines, '\\newline', i)
if end == -1: if end == -1:
sys.stderr.write("Malformed lyx file\n") sys.stderr.write("Malformed lyx file\n")