mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
5e6173b7e2
commit
2778d96bd2
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user