mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Don't use .extend() (doesn't work in python 1.5)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5133 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eb395d9d31
commit
2421f91530
@ -41,10 +41,7 @@ def update_tabular(lines):
|
||||
break
|
||||
|
||||
new_table = table_update(lines[i:j])
|
||||
tail = lines[j:]
|
||||
lines[i:] = []
|
||||
lines.extend(new_table)
|
||||
lines.extend(tail)
|
||||
lines = lines[:i] + new_table + lines[j:]
|
||||
i = i + len(new_table)
|
||||
|
||||
col_re = re.compile(r'<column alignment="(\d)" valignment="(\d)" leftline="(\d)" rightline="(\d)" width="(.*)" special="(.*)">')
|
||||
|
Loading…
Reference in New Issue
Block a user