]> git.lyx.org Git - features.git/commitdiff
lyx2lyx/lyx_2_2.py: remove unused code
authorUwe Stöhr <uwestoehr@lyx.org>
Wed, 4 Nov 2015 00:22:03 +0000 (01:22 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Wed, 4 Nov 2015 00:22:03 +0000 (01:22 +0100)
lib/lyx2lyx/lyx_2_2.py

index 47bed398414818463d202a4c5c00032148411f42..4155f49a6a1b2b541b48a7344f971df4528d1dde 100644 (file)
@@ -2007,9 +2007,7 @@ def revert_achemso(document):
       beginPlain = find_token(document.body, "\\begin_layout Plain Layout", i)
       endPlain = find_end_of_layout(document.body, beginPlain)
       content = lyx2latex(document, document.body[beginPlain : endPlain])
-      #content = lyx2latex(document, document.body[i : j + 1])
       document.body[i:j + 1] = put_cmd_in_ert("\\latin{" + content + "}")
-      #del document.body[i : j + 1]
     else:
       document.warning("Malformed LyX document: Can't find end of flex inset Latin")
       return