From 2778d96bd280a51165455165f422485a78c4e7e8 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 4 Nov 2010 16:20:30 +0000 Subject: [PATCH] Another mistake of mine, though it in fact had no effect. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36073 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_2_0.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_2_0.py b/lib/lyx2lyx/lyx_2_0.py index 54a2325b60..1a7a266193 100644 --- a/lib/lyx2lyx/lyx_2_0.py +++ b/lib/lyx2lyx/lyx_2_0.py @@ -1254,8 +1254,10 @@ def revert_lyx_version(document): return j = find_end_of_inset(document.body, i + 1) if j == -1: - # should not happen document.warning("Malformed LyX document: Could not find end of Info inset.") + i += 1 + continue + # We expect: # \begin_inset Info # type "lyxinfo" -- 2.39.2