mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Don't need else after return.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34772 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9211fe72c1
commit
d250f9a7c2
@ -279,7 +279,6 @@ def revert_flex_inset(document, name, LaTeXname, position):
|
|||||||
i = find_token(document.body, '\\begin_inset Flex ' + name, position)
|
i = find_token(document.body, '\\begin_inset Flex ' + name, position)
|
||||||
if i == -1:
|
if i == -1:
|
||||||
return
|
return
|
||||||
else:
|
|
||||||
z = find_end_of_inset(document.body, i)
|
z = find_end_of_inset(document.body, i)
|
||||||
if z == -1:
|
if z == -1:
|
||||||
document.warning("Malformed LyX document: Can't find end of Flex " + name + " inset.")
|
document.warning("Malformed LyX document: Can't find end of Flex " + name + " inset.")
|
||||||
|
Loading…
Reference in New Issue
Block a user