commit e52a4b738c755be0834966fab9cfb23b7928dcbf Author: Uwe Stöhr <uwesto...@lyx.org> Date: Wed Nov 4 01:22:03 2015 +0100
lyx2lyx/lyx_2_2.py: remove unused code diff --git a/lib/lyx2lyx/lyx_2_2.py b/lib/lyx2lyx/lyx_2_2.py index 47bed39..4155f49 100644 --- a/lib/lyx2lyx/lyx_2_2.py +++ b/lib/lyx2lyx/lyx_2_2.py @@ -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