]> git.lyx.org Git - features.git/commitdiff
small fix to work with
authorJosé Matox <jamatos@lyx.org>
Sat, 7 Jun 2003 10:04:43 +0000 (10:04 +0000)
committerJosé Matox <jamatos@lyx.org>
Sat, 7 Jun 2003 10:04:43 +0000 (10:04 +0000)
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

lib/ChangeLog
lib/lyx2lyx/lyxconvert_216.py

index 737623cadc14318dca8ad333988185ea48c811b6..9b3067341b7b7b0475caadbc98bc672683856974 100644 (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>
 
        * lyx2lyx/lyxconvert_215 (remove_space_in_units): fix bug 763.
index 82832b00b446f08f88684ab8663b17896e5f941b..bb500c9f89bf8e634bb3dab88029984dd02526ea 100644 (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")