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
This commit is contained in:
Richard Heck 2010-11-04 16:20:30 +00:00
parent 5e6173b7e2
commit 2778d96bd2

View File

@ -1254,8 +1254,10 @@ def revert_lyx_version(document):
return return
j = find_end_of_inset(document.body, i + 1) j = find_end_of_inset(document.body, i + 1)
if j == -1: if j == -1:
# should not happen
document.warning("Malformed LyX document: Could not find end of Info inset.") document.warning("Malformed LyX document: Could not find end of Info inset.")
i += 1
continue
# We expect: # We expect:
# \begin_inset Info # \begin_inset Info
# type "lyxinfo" # type "lyxinfo"