jw-devtest.py: Code beautification

Just for the heck of it: Make it even shorter.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2022-12-10 13:53:19 +01:00
commit 8d62ea3939

View file

@ -1,10 +1,8 @@
# -*- coding: utf-8 -*-
import jwutils
from devtest.os import *
from devtest.os import * # import all commands
jwutils.log.set_filename_length(30)
if jwutils.run_sub_commands('Control Device under Test'):
exit(1)
exit(0)
exit(jwutils.run_sub_commands('Control Device under Test'))