From ff9143b226a670b57611c0ddd0c7024b2ce7ac98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sun, 9 Sep 2007 18:37:50 +0000 Subject: [PATCH] LyX.py: fix for previous commit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20175 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/LyX.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py index b29da4e771..447f954428 100644 --- a/lib/lyx2lyx/LyX.py +++ b/lib/lyx2lyx/LyX.py @@ -541,7 +541,7 @@ class LyX_Base: k = k + 1 # trim empty lines in the end. - while par and par[-1].strip(): + while par and par[-1].strip() == '': par.pop() toc_par.append(Paragraph(section, par)) -- 2.39.5