mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Don't return yet! We need to check the other one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36034 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3ac94820db
commit
155b339d84
@ -864,13 +864,13 @@ def revert_custom_processors(document):
|
||||
i = find_token(document.header, '\\bibtex_command', 0)
|
||||
if i == -1:
|
||||
document.warning("Malformed LyX document: Missing \\bibtex_command.")
|
||||
return
|
||||
del document.header[i]
|
||||
else:
|
||||
del document.header[i]
|
||||
i = find_token(document.header, '\\index_command', 0)
|
||||
if i == -1:
|
||||
document.warning("Malformed LyX document: Missing \\index_command.")
|
||||
return
|
||||
del document.header[i]
|
||||
else:
|
||||
del document.header[i]
|
||||
|
||||
|
||||
def convert_nomencl_width(document):
|
||||
|
Loading…
Reference in New Issue
Block a user