mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-10-21 14:51:23 +08:00
Use f-string literal
This makes path-construction a bit more readable Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
@@ -199,7 +199,7 @@ class AbiChecker:
|
|||||||
otherwise update it to the default revision"""
|
otherwise update it to the default revision"""
|
||||||
submodule_output = subprocess.check_output(
|
submodule_output = subprocess.check_output(
|
||||||
[self.git_command, "submodule", "foreach", "--recursive",
|
[self.git_command, "submodule", "foreach", "--recursive",
|
||||||
'git worktree add --detach "{}/$displaypath" HEAD'.format(git_worktree_path)],
|
f'git worktree add --detach "{git_worktree_path}/$displaypath" HEAD'],
|
||||||
cwd=self.repo_path,
|
cwd=self.repo_path,
|
||||||
stderr=subprocess.STDOUT
|
stderr=subprocess.STDOUT
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user