commit b286511b75b337fe50fe71493cf5b5aac13ebccb
Author: Richard Kimberly Heck <rikih...@lyx.org>
Date:   Fri Dec 28 23:34:51 2018 -0500

    Typo
    
    (cherry picked from commit 75c8e5c0007db20ff7e803571d7227e6b11a33d0)
---
 lib/lyx2lyx/lyx2lyx_tools.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/lyx2lyx/lyx2lyx_tools.py b/lib/lyx2lyx/lyx2lyx_tools.py
index ba179a7..6b61ade 100644
--- a/lib/lyx2lyx/lyx2lyx_tools.py
+++ b/lib/lyx2lyx/lyx2lyx_tools.py
@@ -468,7 +468,7 @@ def revert_font_attrs(lines, name, LaTeXname):
   i = 0
   while True:
     i = find_token(lines, name, i)
-    if i = -1:
+    if i == -1:
       break
     del lines[i]
 

Reply via email to