]> git.lyx.org Git - features.git/commitdiff
keytest.py ignores now also whitespaces only lines.
authorTommaso Cucinotta <tommaso@lyx.org>
Sun, 30 Jan 2011 19:45:17 +0000 (19:45 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Sun, 30 Jan 2011 19:45:17 +0000 (19:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37379 a592a061-630c-0410-9148-cb99ea01b6c8

development/autotests/keytest.py

index f660d453202138bf624851c7bcdcf968f100a6eb..ca475d756dff4afc8147adef6682efaa884fafd1 100755 (executable)
@@ -285,7 +285,7 @@ while not failed:
     c = x.getCommand()
     if c is None:
         break
-    if c == "":
+    if c.strip() == "":
         continue
     outfile.writelines(c + '\n')
     outfile.flush()