lyx_2_2.py: fix a logic mistake

- this message must be used for all cases
This commit is contained in:
Uwe Stöhr 2015-11-29 04:26:14 +01:00
parent 4ea80e077f
commit 6f221bab03

View File

@ -2142,7 +2142,6 @@ def revert_solution(document):
theoremName = "newtheorem" theoremName = "newtheorem"
j = find_end_of_layout(document.body, i) j = find_end_of_layout(document.body, i)
if j == -1: if j == -1:
if starred == True:
document.warning("Malformed LyX document: Can't find end of " + LyXName + " layout") document.warning("Malformed LyX document: Can't find end of " + LyXName + " layout")
i += 1 i += 1
continue continue