]> git.lyx.org Git - features.git/commitdiff
keytest.py: do not print the same thing twice
authorScott Kostyshak <skostysh@lyx.org>
Mon, 4 Feb 2013 08:06:08 +0000 (03:06 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Mon, 4 Feb 2013 08:20:02 +0000 (03:20 -0500)
keytest.py now only prints one time the command that it is executing for
an assert. The command is already printed in the function responsible
for executing it, so it is not necessary to print the command before
calling that function.

development/autotests/keytest.py

index a48f85676b0a606df9cff85c29deedd23f01ab26..a510a3faafd8bc10d895b0909e791682ece9fc2d 100755 (executable)
@@ -384,7 +384,6 @@ while not failed:
         sendKeystring(ResetCommand, lyx_pid)
     elif c[0:6] == 'Assert':
         cmd = c[7:].rstrip()
-        print "Executing " + cmd
         result = intr_system(cmd)
         failed = failed or (result != 0)
         print "result=" + str(result) + ", failed=" + str(failed)