From: Juergen Spitzmueller Date: Sun, 2 Dec 2012 16:10:46 +0000 (+0100) Subject: Cut and paste error X-Git-Tag: 2.1.0beta1~1159 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=50fe522d03e04102b285fb32fa88425f8e865e46;p=features.git Cut and paste error --- diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py index 7229c934b8..f6ac766b8c 100644 --- a/lib/lyx2lyx/lyx_2_1.py +++ b/lib/lyx2lyx/lyx_2_1.py @@ -1693,7 +1693,6 @@ def revert_itemargs(document): parbeg = find_token_backwards(document.body, "\\begin_layout", parbeg - 1) beginPlain = find_token(document.body, "\\begin_layout Plain Layout", i) endPlain = find_end_of_layout(document.body, beginPlain) - endInset = find_end_of_inset(document.body, p) content = document.body[beginPlain + 1 : endPlain] del document.body[i:j+1] subst = put_cmd_in_ert("[") + content + put_cmd_in_ert("]")