From 51989cbe0aa1ff92e805f661a31cd39201991e98 Mon Sep 17 00:00:00 2001 From: Tim Pambor Date: Wed, 16 Jul 2025 21:24:11 +0200 Subject: [PATCH] twister: Fix exception if twister fails to create symlink This fixes a typo in the formatting code that caused an exception if the symlink creation failed. Signed-off-by: Tim Pambor --- scripts/pylib/twister/twisterlib/coverage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pylib/twister/twisterlib/coverage.py b/scripts/pylib/twister/twisterlib/coverage.py index 42cbc1c9806..ae37f151561 100644 --- a/scripts/pylib/twister/twisterlib/coverage.py +++ b/scripts/pylib/twister/twisterlib/coverage.py @@ -538,7 +538,7 @@ def try_making_symlink(source: str, link: str): os.symlink(source, link) except OSError as e: logger.error( - "Error creating symlink: %s, attempting to copy.". str(e) + "Error creating symlink: %s, attempting to copy.", str(e) ) shutil.copy(source, link)