mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Add warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36055 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3215a451dd
commit
4091078fb4
@ -1294,7 +1294,7 @@ def revert_includeonly(document):
|
||||
return
|
||||
j = find_end_of(document.header, i, "\\begin_includeonly", "\\end_includeonly")
|
||||
if j == -1:
|
||||
# this should not happen
|
||||
document.warning("Unable to find end of includeonly section!!")
|
||||
break
|
||||
document.header[i : j + 1] = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user