" Change inset Graphics."
lines = document.body
i = 0
- while 1:
+ while True:
i = find_token(lines, "\\begin_inset Graphics", i)
if i == -1:
break
" Change tabular."
lines = document.body
i = 0
- while 1:
+ while True:
i = find_token(lines, "<column", i)
if i == -1:
break