X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyx2lyx%2Flyx_1_3.py;h=35f04db8c4ef4b8ad96096f6355731b662e2a8b5;hb=6ab3be039ee0d74bbb7782bae8e1e0b278d14b3d;hp=195f0dcbac15bef29f71dd3c2fd1277d8ef908f5;hpb=aef6b1681125515418922ce05b269d7d9c4aa693;p=lyx.git diff --git a/lib/lyx2lyx/lyx_1_3.py b/lib/lyx2lyx/lyx_1_3.py index 195f0dcbac..35f04db8c4 100644 --- a/lib/lyx2lyx/lyx_1_3.py +++ b/lib/lyx2lyx/lyx_1_3.py @@ -54,7 +54,7 @@ def change_insetgraphics(document): " Change inset Graphics." lines = document.body i = 0 - while 1: + while True: i = find_token(lines, "\\begin_inset Graphics", i) if i == -1: break @@ -113,7 +113,7 @@ def change_tabular(document): " Change tabular." lines = document.body i = 0 - while 1: + while True: i = find_token(lines, "