diff --git a/tools/ci/testrun/utils/common.py b/tools/ci/testrun/utils/common.py index b5d76a68797..230369c2b1e 100644 --- a/tools/ci/testrun/utils/common.py +++ b/tools/ci/testrun/utils/common.py @@ -284,7 +284,8 @@ class connectNuttx(object): 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 95f6680127f..8e708320a84 100644 --- a/tools/pynuttx/nxgdb/net.py +++ b/tools/pynuttx/nxgdb/net.py @@ -310,8 +310,7 @@ class NetCheck(gdb.Command): 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"):