fix lyx2lyx bug that prevented csv2lyx files from being converted

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@6327 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2003-03-03 20:02:59 +00:00
parent c279e9ea9f
commit 89c707fb91
2 changed files with 3 additions and 2 deletions

View File

@ -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")
@ -111,7 +111,7 @@ def update_tabular(lines):
del lines[i]
end = end -1
if lines[i] == '\\newline ':
if lines[i] == '\\newline':
del lines[i]
l = l + 1

View File

@ -122,3 +122,4 @@ What's new
- improve the lyx.spec file used to produce rpms
- fix a lyx2lyx bug that rejected csv2lyx files as bad formed