diff --git a/tools/ci/testrun/utils/common.py b/tools/ci/testrun/utils/common.py index b5d76a68797ec..230369c2b1e9b 100644 --- a/tools/ci/testrun/utils/common.py +++ b/tools/ci/testrun/utils/common.py @@ -284,7 +284,8 @@ def sendCommand(self, cmd, *argc, **argv): if self.method != "minicom": time.sleep(0.5) - return ret + + return ret def switch_to_original_core(self): if self.target == "target": diff --git a/tools/pynuttx/nxgdb/net.py b/tools/pynuttx/nxgdb/net.py index 95f6680127f84..8e708320a84fc 100644 --- a/tools/pynuttx/nxgdb/net.py +++ b/tools/pynuttx/nxgdb/net.py @@ -310,8 +310,7 @@ def check_iob(self): result = max(result, NetCheckResult.FAILED) message.append("[FAILED] Failed to check IOB: %s" % e) - finally: - return result, message + return result, message def invoke(self, args, from_tty): if utils.get_symbol_value("CONFIG_MM_IOB"):