Skip to content

Commit 51989cb

Browse files
tpambordanieldegrasse
authored andcommitted
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 <[email protected]>
1 parent 1a7ce3f commit 51989cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pylib/twister/twisterlib/coverage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ def try_making_symlink(source: str, link: str):
538538
os.symlink(source, link)
539539
except OSError as e:
540540
logger.error(
541-
"Error creating symlink: %s, attempting to copy.". str(e)
541+
"Error creating symlink: %s, attempting to copy.", str(e)
542542
)
543543
shutil.copy(source, link)
544544

0 commit comments

Comments
 (0)