From 8d62ea3939000913196ba728fa4cdefaa3921e25 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Sat, 10 Dec 2022 13:53:19 +0100 Subject: [PATCH] jw-devtest.py: Code beautification Just for the heck of it: Make it even shorter. Signed-off-by: Jan Lindemann --- scripts/jw-devtest.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/jw-devtest.py b/scripts/jw-devtest.py index 467971f..4818f8b 100644 --- a/scripts/jw-devtest.py +++ b/scripts/jw-devtest.py @@ -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'))