]> git.lyx.org Git - features.git/blobdiff - lib/lyx2lyx/lyx_1_3.py
ctests: uninvert two xhtml tests
[features.git] / lib / lyx2lyx / lyx_1_3.py
index 195f0dcbac15bef29f71dd3c2fd1277d8ef908f5..a62b7b99516a9f3d1484de14eaaccfb22178f5dd 100644 (file)
@@ -27,7 +27,7 @@ from parser_tools import find_token, find_end_of, get_value,\
 # Private helper functions
 
 def find_end_of_inset(lines, i):
-    "Finds the matching \end_inset"
+    r"Finds the matching \end_inset"
     return find_end_of(lines, i, "\\begin_inset", "\\end_inset")
 
 
@@ -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, "<column", i)
         if i == -1:
             break