]> git.lyx.org Git - features.git/commitdiff
Fix previous change
authorDekel Tsur <dekelts@tau.ac.il>
Wed, 28 Aug 2002 12:35:20 +0000 (12:35 +0000)
committerDekel Tsur <dekelts@tau.ac.il>
Wed, 28 Aug 2002 12:35:20 +0000 (12:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5136 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyxconvert_217.py

index 876604ed2c11da9eb767ee6437aeab752b6c646d..3b27d54c93415a612a0547641e30e3f770365ef0 100644 (file)
@@ -41,7 +41,7 @@ def update_tabular(lines):
             break
 
         new_table = table_update(lines[i:j])
-       lines = lines[:i] + new_table + lines[j:]
+       lines[i:j] = new_table
         i = i + len(new_table)
 
 col_re = re.compile(r'<column alignment="(\d)" valignment="(\d)" leftline="(\d)" rightline="(\d)" width="(.*)" special="(.*)">')