From: Richard Heck Date: Thu, 10 Jul 2008 22:18:14 +0000 (+0000) Subject: I suppose a line could begin: status openly. So we'll try harder. X-Git-Tag: 1.6.10~4132 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a3cfc7aea31f0cf4cd920beaaeb5193073d04fee;p=lyx.git I suppose a line could begin: status openly. So we'll try harder. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25547 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/lyx2lyx/lyx_1_6.py b/lib/lyx2lyx/lyx_1_6.py index 01133a8239..21c3c26d26 100644 --- a/lib/lyx2lyx/lyx_1_6.py +++ b/lib/lyx2lyx/lyx_1_6.py @@ -329,8 +329,8 @@ def lyx2latex(lines): line.startswith("\\begin_inset") or \ line.startswith("\\end_inset") or \ line.startswith("\\lang") or \ - line.startswith("status collapsed") or \ - line.startswith("status open"): + line.strip() == "status collapsed" or \ + line.strip() == "status open": #skip all that stuff continue