From 9defda7c3293d337fb28138a886cb9b4b088f097 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 6 Jul 2010 13:38:27 +0000 Subject: [PATCH] Style. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34782 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_2_0.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_2_0.py b/lib/lyx2lyx/lyx_2_0.py index 1c95503f51..6c1d1bda5b 100644 --- a/lib/lyx2lyx/lyx_2_0.py +++ b/lib/lyx2lyx/lyx_2_0.py @@ -333,7 +333,7 @@ def revert_charstyles(document, name, LaTeXname, changed): k = find_token(document.body, name + ' on', i + 1) # if there is no default set, the style ends with the layout # assure hereby that we found the correct layout end - if j != -1 and (j < k or k ==-1): + if j != -1 and (j < k or k == -1): document.body[j:j+1] = put_cmd_in_ert("}") else: j = find_token(document.body, '\\end_layout', i) -- 2.39.2