[elbe-devel] [PATCH 20/75] toolchainextract: use f-strings
Daniel Braunwarth
daniel at braunwarth.dev
Wed Nov 2 20:01:30 CET 2022
Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
---
elbepack/commands/toolchainextract.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/commands/toolchainextract.py b/elbepack/commands/toolchainextract.py
index ed48176a3..1388db880 100644
--- a/elbepack/commands/toolchainextract.py
+++ b/elbepack/commands/toolchainextract.py
@@ -79,6 +79,6 @@ def run_command(argv):
repo.includedeb(os.path.join(tmpdir, p))
repo.finalize()
- os.system('rm -r "%s"' % tmpdir)
+ os.system(f'rm -r "{tmpdir}"')
return 0
--
2.38.1
More information about the elbe-devel
mailing list