mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
No else after return.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34781 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1541a7f756
commit
ec6ae81572
@ -329,7 +329,6 @@ def revert_charstyles(document, name, LaTeXname, changed):
|
||||
i = find_token(document.body, name + ' on', i)
|
||||
if i == -1:
|
||||
return changed
|
||||
else:
|
||||
j = find_token(document.body, name + ' default', i)
|
||||
k = find_token(document.body, name + ' on', i + 1)
|
||||
# if there is no default set, the style ends with the layout
|
||||
|
Loading…
Reference in New Issue
Block a user