mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
keytest.py: do not print the same thing twice
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.
This commit is contained in:
parent
e8b5736844
commit
e609787a0f
@ -384,7 +384,6 @@ while not failed:
|
|||||||
sendKeystring(ResetCommand, lyx_pid)
|
sendKeystring(ResetCommand, lyx_pid)
|
||||||
elif c[0:6] == 'Assert':
|
elif c[0:6] == 'Assert':
|
||||||
cmd = c[7:].rstrip()
|
cmd = c[7:].rstrip()
|
||||||
print "Executing " + cmd
|
|
||||||
result = intr_system(cmd)
|
result = intr_system(cmd)
|
||||||
failed = failed or (result != 0)
|
failed = failed or (result != 0)
|
||||||
print "result=" + str(result) + ", failed=" + str(failed)
|
print "result=" + str(result) + ", failed=" + str(failed)
|
||||||
|
Loading…
Reference in New Issue
Block a user