commit 92fae708aebf8d2f3bc393b29c54a4cebeafe730
Author: Richard Heck <[email protected]>
Date:   Fri Jun 24 15:03:59 2016 -0400

    Style.
---
 lib/lyx2lyx/LyX.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py
index bea3d67..f1fcf2e 100644
--- a/lib/lyx2lyx/LyX.py
+++ b/lib/lyx2lyx/LyX.py
@@ -317,7 +317,7 @@ class LyX_base:
                 line = trim_eol_binary(line)
                 decoded = line.decode('latin1')
             if check_token(decoded, '\\begin_preamble'):
-                while 1:
+                while True:
                     line = self.input.readline()
                     if not line:
                         # eof found before end of header

Reply via email to