keytest.py ignores now also whitespaces only lines.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37379 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Tommaso Cucinotta 2011-01-30 19:45:17 +00:00
parent e4df1f08fb
commit 7e02f60ae6

View File

@ -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()